Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.174/2.174, allocations: 390.3 MB / 405.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 189 kB / 498.1 MB, free: 5.773 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.2 MB / 0.7948 GB, free: 17.97 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008661/0.0008661, allocations: 102.8 kB / 0.9346 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003858, allocations: 10.5 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2554, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.811/4.067, allocations: 1.938 GB / 3.161 GB, free: 49.89 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/4.067, allocations: 91.88 kB / 3.161 GB, free: 49.84 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.207/5.274, allocations: 326.1 MB / 3.48 GB, free: 200.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.495e-06/5.274, allocations: 0 / 3.48 GB, free: 200.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001771/5.274, allocations: 55.94 kB / 3.48 GB, free: 200 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.005196/5.279, allocations: 2.584 MB / 3.482 GB, free: 197.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/5.279, allocations: 12.03 kB / 3.482 GB, free: 197.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003403/5.279, allocations: 236.5 kB / 3.482 GB, free: 197.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00397/5.283, allocations: 0.5512 MB / 3.483 GB, free: 196.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004068/5.288, allocations: 2.188 MB / 3.485 GB, free: 194.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.485e-05/5.288, allocations: 123.3 kB / 3.485 GB, free: 194.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/5.288, allocations: 164 kB / 3.485 GB, free: 194 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002688/5.291, allocations: 1.849 MB / 3.487 GB, free: 192.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/5.291, allocations: 3.953 kB / 3.487 GB, free: 192.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/5.291, allocations: 75.94 kB / 3.487 GB, free: 192.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/5.291, allocations: 40 kB / 3.487 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002721/5.293, allocations: 2.003 MB / 3.489 GB, free: 190 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007889/5.301, allocations: 6.008 MB / 3.495 GB, free: 183.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002583/5.304, allocations: 1.97 MB / 3.497 GB, free: 181.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004835/5.304, allocations: 429.7 kB / 3.497 GB, free: 181.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001313/5.306, allocations: 0.9231 MB / 3.498 GB, free: 180.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=137): time 3.036e-06/5.306, allocations: 0 / 3.498 GB, free: 180.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=137): time 0.00588/5.312, allocations: 2.839 MB / 3.501 GB, free: 177.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/5.312, allocations: 244.6 kB / 3.501 GB, free: 177.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002776/5.315, allocations: 2.444 MB / 3.504 GB, free: 174.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001717/5.315, allocations: 57.7 kB / 3.504 GB, free: 174.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005715/5.315, allocations: 0.859 MB / 3.505 GB, free: 173.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/5.316, allocations: 453.3 kB / 3.505 GB, free: 173.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/5.316, allocations: 28 kB / 3.505 GB, free: 173.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.104e-05/5.316, allocations: 345.9 kB / 3.505 GB, free: 172.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000844/5.317, allocations: 0.5217 MB / 3.506 GB, free: 172.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009561/5.318, allocations: 0.7475 MB / 3.507 GB, free: 171.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009404/5.319, allocations: 0.6098 MB / 3.507 GB, free: 170.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/5.319, allocations: 7.953 kB / 3.507 GB, free: 170.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003141/5.322, allocations: 1.666 MB / 3.509 GB, free: 169.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/5.322, allocations: 8 kB / 3.509 GB, free: 169.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/5.322, allocations: 0 / 3.509 GB, free: 169.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/5.323, allocations: 212.2 kB / 3.509 GB, free: 169 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/5.324, allocations: 303.6 kB / 3.509 GB, free: 168.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004172/5.328, allocations: 6.849 MB / 3.516 GB, free: 161.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/5.33, allocations: 159 kB / 3.516 GB, free: 161 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/5.33, allocations: 67.95 kB / 3.516 GB, free: 160.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 126 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001151/5.331, allocations: 472.4 kB / 3.517 GB, free: 160.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005049/5.332, allocations: 185.7 kB / 3.517 GB, free: 160.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004455/5.336, allocations: 2.121 MB / 3.519 GB, free: 158.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/5.336, allocations: 12 kB / 3.519 GB, free: 158.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/5.336, allocations: 4 kB / 3.519 GB, free: 158.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/5.336, allocations: 7.969 kB / 3.519 GB, free: 158.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007543/5.344, allocations: 4.228 MB / 3.523 GB, free: 153.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/5.344, allocations: 0 / 3.523 GB, free: 153.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/5.345, allocations: 323.5 kB / 3.523 GB, free: 153.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000899/5.346, allocations: 216.1 kB / 3.524 GB, free: 153.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/5.346, allocations: 39.97 kB / 3.524 GB, free: 153.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004011/5.35, allocations: 6.886 MB / 3.53 GB, free: 145.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/5.35, allocations: 7.891 kB / 3.53 GB, free: 145.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003692/5.354, allocations: 1.866 MB / 3.532 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00173/5.356, allocations: 0.6699 MB / 3.533 GB, free: 143.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005027/5.356, allocations: 31.98 kB / 3.533 GB, free: 143 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/5.358, allocations: 123.8 kB / 3.533 GB, free: 142.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/5.358, allocations: 109.2 kB / 3.533 GB, free: 142.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001933/5.359, allocations: 87.88 kB / 3.533 GB, free: 142.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00295/5.361, allocations: 1.931 MB / 3.535 GB, free: 140.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.31e-07/5.361, allocations: 0 / 3.535 GB, free: 140.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003228/5.365, allocations: 0.8225 MB / 3.536 GB, free: 140 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00762/5.372, allocations: 3.979 MB / 3.54 GB, free: 136.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002929/5.375, allocations: 1.899 MB / 3.542 GB, free: 134.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/5.375, allocations: 0.5625 kB / 3.542 GB, free: 134.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001627/5.377, allocations: 1.329 MB / 3.543 GB, free: 132.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/5.379, allocations: 461.9 kB / 3.543 GB, free: 132.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02411/5.403, allocations: 15.16 MB / 3.558 GB, free: 116.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/5.405, allocations: 1.544 MB / 3.56 GB, free: 114.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002713/5.407, allocations: 0.6569 MB / 3.56 GB, free: 114.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00154/5.409, allocations: 0.9209 MB / 3.561 GB, free: 113.3 MB / 1.167 GB Notification: Performance of SimCode: time 8.82e-07/5.409, allocations: 3.938 kB / 3.561 GB, free: 113.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1008/5.51, allocations: 67.2 MB / 3.627 GB, free: 46.59 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/5.51, allocations: 248.1 kB / 3.627 GB, free: 46.25 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.201/9.711, allocations: 0 / 3.627 GB, free: 46.25 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat does not exist to compare? outputFormat=mat