Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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_CpLowRise,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.295/2.295, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001401/0.001401, allocations: 176.8 kB / 487.4 MB, free: 5.051 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.673/1.673, allocations: 221.5 MB / 0.7824 GB, free: 1 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008564/0.0008563, allocations: 87.97 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.869e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2769, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.798/6.075, allocations: 1.937 GB / 3.143 GB, free: 414.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/6.075, allocations: 83.95 kB / 3.143 GB, free: 414.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6068/6.682, allocations: 314.9 MB / 3.45 GB, free: 94.09 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.975e-06/6.682, allocations: 0 / 3.45 GB, free: 94.09 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000198/6.683, allocations: 47.94 kB / 3.45 GB, free: 94.04 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.004567/6.687, allocations: 1.761 MB / 3.452 GB, free: 92.22 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/6.687, allocations: 8.031 kB / 3.452 GB, free: 92.21 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003898/6.691, allocations: 0.4933 MB / 3.453 GB, free: 91.71 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/6.693, allocations: 0.9623 MB / 3.454 GB, free: 90.71 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.734e-05/6.693, allocations: 56 kB / 3.454 GB, free: 90.65 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003646/6.694, allocations: 92 kB / 3.454 GB, free: 90.56 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002986/6.697, allocations: 1.63 MB / 3.455 GB, free: 88.93 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002917/6.7, allocations: 1.446 MB / 3.457 GB, free: 87.43 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/6.7, allocations: 0 / 3.457 GB, free: 87.43 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/6.7, allocations: 0 / 3.457 GB, free: 87.43 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/6.7, allocations: 44 kB / 3.457 GB, free: 87.39 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.007514/6.708, allocations: 4.561 MB / 3.461 GB, free: 82.64 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/6.71, allocations: 1.499 MB / 3.463 GB, free: 81.07 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000701/6.71, allocations: 0.5385 MB / 3.463 GB, free: 80.53 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008136/6.711, allocations: 0.8 MB / 3.464 GB, free: 79.56 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/6.712, allocations: 0.7177 MB / 3.465 GB, free: 78.82 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 3.547e-06/6.712, allocations: 0 / 3.465 GB, free: 78.82 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003205/6.715, allocations: 1.281 MB / 3.466 GB, free: 77.52 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/6.715, allocations: 248.6 kB / 3.466 GB, free: 77.22 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008787/6.716, allocations: 0.6135 MB / 3.467 GB, free: 76.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001445/6.717, allocations: 29.7 kB / 3.467 GB, free: 76.56 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004429/6.717, allocations: 0.6364 MB / 3.467 GB, free: 75.91 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002983/6.717, allocations: 437.4 kB / 3.468 GB, free: 75.48 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/6.717, allocations: 0 / 3.468 GB, free: 75.48 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.818e-05/6.717, allocations: 353.9 kB / 3.468 GB, free: 75.13 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/6.718, allocations: 374.5 kB / 3.469 GB, free: 74.77 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006149/6.719, allocations: 0.5276 MB / 3.469 GB, free: 74.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007698/6.719, allocations: 462.2 kB / 3.47 GB, free: 73.75 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/6.719, allocations: 0 / 3.47 GB, free: 73.75 MB / 1.151 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002461/6.722, allocations: 1.245 MB / 3.471 GB, free: 72.48 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/6.722, allocations: 12 kB / 3.471 GB, free: 72.46 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/6.722, allocations: 0 / 3.471 GB, free: 72.46 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008728/6.723, allocations: 184.1 kB / 3.471 GB, free: 72.27 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/6.724, allocations: 299.6 kB / 3.471 GB, free: 71.98 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004137/6.728, allocations: 6.5 MB / 3.478 GB, free: 64.89 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/6.73, allocations: 111.1 kB / 3.478 GB, free: 64.78 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/6.73, allocations: 51.97 kB / 3.478 GB, free: 64.73 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.0003406/6.73, allocations: 124.7 kB / 3.478 GB, free: 64.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002693/6.733, allocations: 1.242 MB / 3.479 GB, free: 63.34 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003428/6.733, allocations: 118.6 kB / 3.479 GB, free: 63.22 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003236/6.736, allocations: 1.552 MB / 3.481 GB, free: 61.64 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/6.736, allocations: 20 kB / 3.481 GB, free: 61.62 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/6.736, allocations: 4 kB / 3.481 GB, free: 61.62 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/6.736, allocations: 7.969 kB / 3.481 GB, free: 61.61 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00556/6.742, allocations: 2.942 MB / 3.484 GB, free: 58.61 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/6.742, allocations: 0 / 3.484 GB, free: 58.61 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/6.743, allocations: 315.6 kB / 3.484 GB, free: 58.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007497/6.744, allocations: 188.1 kB / 3.484 GB, free: 58.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/6.744, allocations: 19.97 kB / 3.484 GB, free: 58.08 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003843/6.748, allocations: 6.527 MB / 3.49 GB, free: 50.98 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/6.748, allocations: 0 / 3.49 GB, free: 50.98 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/6.751, allocations: 1.429 MB / 3.492 GB, free: 49.52 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007742/6.752, allocations: 395.1 kB / 3.492 GB, free: 49.11 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002754/6.752, allocations: 0 / 3.492 GB, free: 49.11 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/6.753, allocations: 103.7 kB / 3.492 GB, free: 49.01 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/6.753, allocations: 105.2 kB / 3.492 GB, free: 48.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/6.754, allocations: 67.91 kB / 3.492 GB, free: 48.84 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007019/6.754, allocations: 495.1 kB / 3.493 GB, free: 48.36 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/6.754, allocations: 0 / 3.493 GB, free: 48.36 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002396/6.757, allocations: 0.627 MB / 3.494 GB, free: 47.73 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.006028/6.763, allocations: 3.599 MB / 3.497 GB, free: 44.19 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002295/6.765, allocations: 1.573 MB / 3.499 GB, free: 42.57 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/6.765, allocations: 4.688 kB / 3.499 GB, free: 42.56 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/6.766, allocations: 1.146 MB / 3.5 GB, free: 41.37 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/6.769, allocations: 402.8 kB / 3.5 GB, free: 40.98 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006752/6.775, allocations: 2.402 MB / 3.502 GB, free: 38.53 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009296/6.776, allocations: 1.303 MB / 3.504 GB, free: 37.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001955/6.778, allocations: 408.8 kB / 3.504 GB, free: 36.79 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008911/6.779, allocations: 0.6164 MB / 3.505 GB, free: 36.18 MB / 1.151 GB Notification: Performance of SimCode: time 9.11e-07/6.779, allocations: 0 / 3.505 GB, free: 36.18 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.751/7.53, allocations: 42.34 MB / 3.546 GB, free: 306.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/7.531, allocations: 171.4 kB / 3.546 GB, free: 306.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.587/11.12, allocations: 0.7812 kB / 3.546 GB, free: 306.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat does not exist to compare? outputFormat=mat