Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.334/2.334, allocations: 390.5 MB / 398 MB, free: 10.93 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.001127/0.001127, allocations: 176.9 kB / 491.2 MB, free: 1.59 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.477/1.477, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.000915/0.000915, allocations: 93.25 kB / 0.9269 GB, free: 13.74 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.561e-05/2.563e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2687, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.15/5.419, allocations: 1.938 GB / 3.15 GB, free: 390.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/5.419, allocations: 88.48 kB / 3.15 GB, free: 390.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.5917/6.011, allocations: 314.9 MB / 3.458 GB, free: 70.77 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.405e-06/6.011, allocations: 0 / 3.458 GB, free: 70.77 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001944/6.011, allocations: 44 kB / 3.458 GB, free: 70.72 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.004419/6.015, allocations: 1.765 MB / 3.459 GB, free: 68.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/6.016, allocations: 8.031 kB / 3.459 GB, free: 68.89 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003895/6.019, allocations: 0.4934 MB / 3.46 GB, free: 68.39 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/6.022, allocations: 0.9661 MB / 3.461 GB, free: 67.38 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.733e-05/6.022, allocations: 52 kB / 3.461 GB, free: 67.33 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00043/6.022, allocations: 95.95 kB / 3.461 GB, free: 67.24 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002965/6.025, allocations: 1.626 MB / 3.462 GB, free: 65.61 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/6.028, allocations: 1.445 MB / 3.464 GB, free: 64.11 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/6.029, allocations: 0 / 3.464 GB, free: 64.11 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001928/6.029, allocations: 4 kB / 3.464 GB, free: 64.11 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/6.029, allocations: 40 kB / 3.464 GB, free: 64.07 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.006651/6.035, allocations: 4.568 MB / 3.468 GB, free: 59.32 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/6.037, allocations: 1.488 MB / 3.47 GB, free: 57.75 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006081/6.038, allocations: 0.5347 MB / 3.47 GB, free: 57.21 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007426/6.038, allocations: 0.8039 MB / 3.471 GB, free: 56.24 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009396/6.039, allocations: 0.7216 MB / 3.472 GB, free: 55.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 4.468e-06/6.039, allocations: 0 / 3.472 GB, free: 55.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.002898/6.042, allocations: 1.277 MB / 3.473 GB, free: 54.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.019e-05/6.042, allocations: 252.6 kB / 3.473 GB, free: 53.89 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007632/6.043, allocations: 0.6096 MB / 3.474 GB, free: 53.28 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/6.043, allocations: 37.7 kB / 3.474 GB, free: 53.23 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004283/6.044, allocations: 0.6286 MB / 3.475 GB, free: 52.59 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/6.044, allocations: 441.3 kB / 3.475 GB, free: 52.16 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/6.044, allocations: 3.938 kB / 3.475 GB, free: 52.15 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.461e-05/6.044, allocations: 353.9 kB / 3.475 GB, free: 51.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004767/6.045, allocations: 382.5 kB / 3.476 GB, free: 51.43 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005581/6.045, allocations: 0.5199 MB / 3.476 GB, free: 50.87 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007531/6.046, allocations: 462.1 kB / 3.477 GB, free: 50.42 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/6.046, allocations: 7.984 kB / 3.477 GB, free: 50.41 MB / 1.151 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002395/6.048, allocations: 1.238 MB / 3.478 GB, free: 49.15 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/6.048, allocations: 4 kB / 3.478 GB, free: 49.14 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/6.048, allocations: 0 / 3.478 GB, free: 49.14 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008374/6.049, allocations: 196.2 kB / 3.478 GB, free: 48.94 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/6.051, allocations: 295.6 kB / 3.478 GB, free: 48.65 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003808/6.054, allocations: 6.503 MB / 3.485 GB, free: 41.56 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/6.056, allocations: 107.2 kB / 3.485 GB, free: 41.45 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/6.056, allocations: 47.97 kB / 3.485 GB, free: 41.41 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * 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.0003069/6.056, allocations: 128.8 kB / 3.485 GB, free: 41.27 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002352/6.058, allocations: 1.238 MB / 3.486 GB, free: 40.02 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/6.059, allocations: 118.6 kB / 3.486 GB, free: 39.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002896/6.062, allocations: 1.556 MB / 3.488 GB, free: 38.31 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/6.062, allocations: 12 kB / 3.488 GB, free: 38.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/6.062, allocations: 4 kB / 3.488 GB, free: 38.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/6.062, allocations: 7.969 kB / 3.488 GB, free: 38.29 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004692/6.066, allocations: 2.938 MB / 3.491 GB, free: 35.29 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/6.066, allocations: 0 / 3.491 GB, free: 35.29 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/6.068, allocations: 319.6 kB / 3.491 GB, free: 34.98 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007074/6.068, allocations: 184.1 kB / 3.491 GB, free: 34.78 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.516e-05/6.068, allocations: 23.97 kB / 3.491 GB, free: 34.76 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003585/6.072, allocations: 6.519 MB / 3.498 GB, free: 27.66 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/6.072, allocations: 0 / 3.498 GB, free: 27.66 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002602/6.075, allocations: 1.433 MB / 3.499 GB, free: 26.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005917/6.075, allocations: 399.1 kB / 3.499 GB, free: 25.79 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/6.075, allocations: 0 / 3.499 GB, free: 25.79 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/6.076, allocations: 99.75 kB / 3.499 GB, free: 25.69 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/6.077, allocations: 101.1 kB / 3.5 GB, free: 25.59 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/6.077, allocations: 71.88 kB / 3.5 GB, free: 25.52 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005585/6.077, allocations: 491.1 kB / 3.5 GB, free: 25.04 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/6.077, allocations: 0 / 3.5 GB, free: 25.04 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00188/6.079, allocations: 0.627 MB / 3.501 GB, free: 24.41 MB / 1.151 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) * 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.004963/6.084, allocations: 3.613 MB / 3.504 GB, free: 20.86 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002045/6.086, allocations: 1.565 MB / 3.506 GB, free: 19.25 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/6.086, allocations: 0.5625 kB / 3.506 GB, free: 19.25 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/6.087, allocations: 1.154 MB / 3.507 GB, free: 18.04 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/6.09, allocations: 390.8 kB / 3.507 GB, free: 17.67 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005798/6.095, allocations: 2.406 MB / 3.51 GB, free: 15.21 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006468/6.096, allocations: 1.307 MB / 3.511 GB, free: 13.88 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001646/6.098, allocations: 404.9 kB / 3.511 GB, free: 13.48 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000784/6.099, allocations: 0.6125 MB / 3.512 GB, free: 12.86 MB / 1.151 GB Notification: Performance of SimCode: time 1.402e-06/6.099, allocations: 0 / 3.512 GB, free: 12.86 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8154/6.914, allocations: 42.35 MB / 3.553 GB, free: 298.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/6.914, allocations: 172 kB / 3.553 GB, free: 297.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.518/10.43, allocations: 1.781 kB / 3.553 GB, free: 297.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat does not exist to compare? outputFormat=mat