Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1",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.721/2.721, 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.001188/0.001188, allocations: 185.6 kB / 498.1 MB, free: 5.777 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.582/1.582, allocations: 223.1 MB / 0.7948 GB, free: 17.93 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.001152/0.001153, allocations: 101.8 kB / 0.9346 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003799, allocations: 10 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3147, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.822/5.137, allocations: 1.914 GB / 3.137 GB, free: 100.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/5.137, allocations: 88.58 kB / 3.137 GB, free: 100.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.151/6.288, allocations: 168.4 MB / 3.302 GB, free: 399.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.253e-06/6.288, allocations: 0 / 3.302 GB, free: 399.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.759e-05/6.288, allocations: 11.41 kB / 3.302 GB, free: 399.9 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001573/6.289, allocations: 0.6806 MB / 3.302 GB, free: 399.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/6.289, allocations: 13.72 kB / 3.302 GB, free: 399.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001279/6.289, allocations: 58.61 kB / 3.302 GB, free: 399.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/6.291, allocations: 143.5 kB / 3.302 GB, free: 399.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008161/6.291, allocations: 417.5 kB / 3.303 GB, free: 398.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/6.291, allocations: 19.5 kB / 3.303 GB, free: 398.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.833e-05/6.292, allocations: 22.44 kB / 3.303 GB, free: 398.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004842/6.292, allocations: 275.5 kB / 3.303 GB, free: 398.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/6.292, allocations: 7.891 kB / 3.303 GB, free: 398.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/6.292, allocations: 15.61 kB / 3.303 GB, free: 398.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/6.292, allocations: 5.875 kB / 3.303 GB, free: 398.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003478/6.292, allocations: 195.1 kB / 3.303 GB, free: 398.6 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.001779/6.294, allocations: 1.302 MB / 3.305 GB, free: 397.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/6.295, allocations: 194.9 kB / 3.305 GB, free: 397.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/6.295, allocations: 3.594 kB / 3.305 GB, free: 397.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/6.295, allocations: 30.91 kB / 3.305 GB, free: 397.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/6.295, allocations: 0 / 3.305 GB, free: 397.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.0009762/6.296, allocations: 407.5 kB / 3.305 GB, free: 396.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/6.296, allocations: 58.92 kB / 3.305 GB, free: 396.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/6.296, allocations: 261.9 kB / 3.306 GB, free: 396.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/6.296, allocations: 25.7 kB / 3.306 GB, free: 396.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/6.296, allocations: 196.2 kB / 3.306 GB, free: 396.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.108e-05/6.296, allocations: 74.5 kB / 3.306 GB, free: 396.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-06/6.296, allocations: 0 / 3.306 GB, free: 396.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.809e-05/6.296, allocations: 342.7 kB / 3.306 GB, free: 396.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.98e-05/6.296, allocations: 65.72 kB / 3.306 GB, free: 396 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/6.297, allocations: 115.9 kB / 3.306 GB, free: 396 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/6.297, allocations: 91.09 kB / 3.306 GB, free: 395.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/6.297, allocations: 0 / 3.306 GB, free: 395.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003563/6.297, allocations: 243.2 kB / 3.307 GB, free: 395.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/6.297, allocations: 6.562 kB / 3.307 GB, free: 395.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/6.297, allocations: 3.969 kB / 3.307 GB, free: 395.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/6.297, allocations: 0 / 3.307 GB, free: 395.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/6.297, allocations: 44.14 kB / 3.307 GB, free: 395.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/6.297, allocations: 11.5 kB / 3.307 GB, free: 395.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003502/6.298, allocations: 18.59 kB / 3.307 GB, free: 395.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/6.298, allocations: 6.531 kB / 3.307 GB, free: 395.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * 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 0.0001683/6.298, allocations: 163.3 kB / 3.307 GB, free: 395.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/6.298, allocations: 41.69 kB / 3.307 GB, free: 395.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.78e-05/6.298, allocations: 33.83 kB / 3.307 GB, free: 395.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/6.298, allocations: 11.03 kB / 3.307 GB, free: 395.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/6.298, allocations: 0 / 3.307 GB, free: 395.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/6.298, allocations: 0 / 3.307 GB, free: 395.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/6.299, allocations: 403.9 kB / 3.307 GB, free: 395.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/6.299, allocations: 0 / 3.307 GB, free: 395.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/6.299, allocations: 35.11 kB / 3.307 GB, free: 395.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00023/6.299, allocations: 51.27 kB / 3.307 GB, free: 395.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/6.299, allocations: 0 / 3.307 GB, free: 395.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/6.3, allocations: 1.42 MB / 3.309 GB, free: 393.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/6.3, allocations: 0 / 3.309 GB, free: 393.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004903/6.301, allocations: 402.5 kB / 3.309 GB, free: 393.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/6.301, allocations: 130.5 kB / 3.309 GB, free: 393.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/6.301, allocations: 4 kB / 3.309 GB, free: 393.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/6.301, allocations: 15.58 kB / 3.309 GB, free: 393.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/6.301, allocations: 10.27 kB / 3.309 GB, free: 393.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/6.301, allocations: 11.84 kB / 3.309 GB, free: 393.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001976/6.301, allocations: 213.6 kB / 3.31 GB, free: 393.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/6.301, allocations: 0 / 3.31 GB, free: 393.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0006426/6.302, allocations: 159.3 kB / 3.31 GB, free: 393.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001601/6.304, allocations: 1.525 MB / 3.311 GB, free: 392 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002833/6.304, allocations: 162.5 kB / 3.311 GB, free: 391.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/6.304, allocations: 3.906 kB / 3.311 GB, free: 391.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002908/6.304, allocations: 200.1 kB / 3.312 GB, free: 391.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008722/6.305, allocations: 190.1 kB / 3.312 GB, free: 391.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/6.308, allocations: 2.904 MB / 3.315 GB, free: 389.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/6.308, allocations: 0.8032 MB / 3.315 GB, free: 388.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003021/6.309, allocations: 65.05 kB / 3.315 GB, free: 388.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/6.309, allocations: 104.8 kB / 3.315 GB, free: 388.5 MB / 1.167 GB Notification: Performance of SimCode: time 6.983e-06/6.309, allocations: 0 / 3.315 GB, free: 388.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03528/6.344, allocations: 20.24 MB / 3.335 GB, free: 368.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/6.344, allocations: 192.6 kB / 3.335 GB, free: 368.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.799/9.143, allocations: 0 / 3.335 GB, free: 368.4 MB / 1.167 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat does not exist to compare? outputFormat=mat