Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.378/2.378, allocations: 390.3 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003757, allocations: 12 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7096/0.71, allocations: 142.3 MB / 0.9536 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add): time 0.0008531/0.7109, allocations: 449.2 kB / 0.954 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008572/0.7118, allocations: 0.8004 MB / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.61e-05/0.7119, allocations: 1.031 kB / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.7119, allocations: 0 / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.588e-05/0.712, allocations: 10.33 kB / 0.9548 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.21e-05/0.712, allocations: 9.172 kB / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.66e-05/0.7121, allocations: 28.19 kB / 0.9549 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.7122, allocations: 11.48 kB / 0.9549 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.681e-05/0.7123, allocations: 18.33 kB / 0.9549 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.413e-05/0.7123, allocations: 17.55 kB / 0.9549 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.7124, allocations: 1.188 kB / 0.9549 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.534e-06/0.7124, allocations: 2.281 kB / 0.9549 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.7124, allocations: 9.172 kB / 0.9549 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.764e-05/0.7124, allocations: 28.11 kB / 0.955 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.908e-05/0.7125, allocations: 30.08 kB / 0.955 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.7125, allocations: 3.938 kB / 0.955 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7125, allocations: 0 / 0.955 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.7125, allocations: 5.156 kB / 0.955 GB, free: 6.949 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004385/0.713, allocations: 378.2 kB / 0.9554 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.713, allocations: 9.906 kB / 0.9554 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.351e-05/0.713, allocations: 30.56 kB / 0.9554 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.7131, allocations: 10.98 kB / 0.9554 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.373e-05/0.7132, allocations: 166.2 kB / 0.9556 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.7132, allocations: 5.156 kB / 0.9556 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.7132, allocations: 1 kB / 0.9556 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.7134, allocations: 80.83 kB / 0.9556 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.7135, allocations: 4 kB / 0.9556 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.7135, allocations: 5.719 kB / 0.9557 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.7135, allocations: 0 / 0.9557 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.7138, allocations: 95.31 kB / 0.9557 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/0.7141, allocations: 269.3 kB / 0.956 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.7143, allocations: 66.2 kB / 0.9561 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.7143, allocations: 1.5 kB / 0.9561 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.7143, allocations: 39.64 kB / 0.9561 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.7143, allocations: 0 / 0.9561 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005358/0.7149, allocations: 167.8 kB / 0.9563 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.7149, allocations: 51.41 kB / 0.9563 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.421e-05/0.715, allocations: 114.2 kB / 0.9564 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.715, allocations: 25.7 kB / 0.9564 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.7151, allocations: 94.47 kB / 0.9565 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.7151, allocations: 4.844 kB / 0.9565 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.7151, allocations: 1.312 kB / 0.9565 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.445e-05/0.7152, allocations: 320 kB / 0.9568 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.7154, allocations: 42.48 kB / 0.9569 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.7155, allocations: 43.59 kB / 0.9569 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.7157, allocations: 47.14 kB / 0.957 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.7157, allocations: 0 / 0.957 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003812/0.7161, allocations: 121.8 kB / 0.9571 GB, free: 5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.7161, allocations: 8.469 kB / 0.9571 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.7161, allocations: 1.219 kB / 0.9571 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.7162, allocations: 4.281 kB / 0.9571 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.7163, allocations: 19.42 kB / 0.9571 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.7163, allocations: 0 / 0.9571 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.063e-05/0.7164, allocations: 24.53 kB / 0.9571 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.7164, allocations: 0 / 0.9571 GB, free: 4.977 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.897e-05/0.7165, allocations: 114.2 kB / 0.9573 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.7166, allocations: 2.406 kB / 0.9573 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.024e-05/0.7166, allocations: 13.11 kB / 0.9573 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.7166, allocations: 1.469 kB / 0.9573 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.7166, allocations: 7.953 kB / 0.9573 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.7166, allocations: 0 / 0.9573 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.7168, allocations: 175.4 kB / 0.9574 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.7168, allocations: 11.88 kB / 0.9575 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.7169, allocations: 18.98 kB / 0.9575 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.717, allocations: 0 / 0.9575 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.717, allocations: 0.9688 kB / 0.9575 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.717, allocations: 0 / 0.9575 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.717, allocations: 1.812 kB / 0.9575 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/0.7174, allocations: 223.8 kB / 0.9577 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.7175, allocations: 82.08 kB / 0.9578 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.7175, allocations: 1.156 kB / 0.9578 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.7176, allocations: 19.23 kB / 0.9578 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.7177, allocations: 5.422 kB / 0.9578 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.7177, allocations: 1.406 kB / 0.9578 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.492e-05/0.7177, allocations: 94.97 kB / 0.9579 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7177, allocations: 3.938 kB / 0.9579 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002483/0.718, allocations: 18.94 kB / 0.9579 GB, free: 4.223 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007262/0.7187, allocations: 0.7456 MB / 0.9586 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000384/0.7191, allocations: 90.45 kB / 0.9587 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7191, allocations: 0 / 0.9587 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.7193, allocations: 54.05 kB / 0.9588 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.7196, allocations: 4.531 kB / 0.9588 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004967/0.7201, allocations: 167.7 kB / 0.9589 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.7202, allocations: 0.6858 MB / 0.9596 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.595e-05/0.7203, allocations: 1.781 kB / 0.9596 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.7203, allocations: 13.25 kB / 0.9596 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of SimCode: time 1.082e-06/0.7203, allocations: 0 / 0.9596 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.7322, allocations: 1.335 MB / 0.9609 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/0.7325, allocations: 193.8 kB / 0.9611 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.36, allocations: 6.953 kB / 0.9611 GB, free: 1.727 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add_res.mat does not exist to compare? outputFormat=mat