Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",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.415/2.415, allocations: 390.5 MB / 398 MB, free: 10.96 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.001223/0.001223, allocations: 188.7 kB / 491.2 MB, free: 1.594 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.718/1.718, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001122/0.001122, allocations: 95.88 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.963e-05/1.967e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3219, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.722/7.044, allocations: 1.914 GB / 3.127 GB, free: 346.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/7.044, allocations: 83.77 kB / 3.127 GB, free: 346.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.3605/7.405, allocations: 166.3 MB / 3.289 GB, free: 203.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.126e-06/7.405, allocations: 0 / 3.289 GB, free: 203.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.462e-05/7.405, allocations: 8 kB / 3.289 GB, free: 203.2 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001659/7.407, allocations: 0.6241 MB / 3.29 GB, free: 202.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.412e-05/7.407, allocations: 8.031 kB / 3.29 GB, free: 202.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/7.408, allocations: 135.4 kB / 3.29 GB, free: 202.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008246/7.409, allocations: 406.5 kB / 3.29 GB, free: 202 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/7.409, allocations: 8 kB / 3.29 GB, free: 202 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-05/7.409, allocations: 20 kB / 3.29 GB, free: 202 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000369/7.409, allocations: 177.1 kB / 3.29 GB, free: 201.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004144/7.41, allocations: 238.6 kB / 3.291 GB, free: 201.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/7.41, allocations: 3.938 kB / 3.291 GB, free: 201.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/7.41, allocations: 3.984 kB / 3.291 GB, free: 201.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.204e-05/7.41, allocations: 12.56 kB / 3.291 GB, free: 201.5 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.001747/7.412, allocations: 1.242 MB / 3.292 GB, free: 200.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/7.412, allocations: 174.9 kB / 3.292 GB, free: 200 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/7.412, allocations: 84.84 kB / 3.292 GB, free: 199.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/7.412, allocations: 3.938 kB / 3.292 GB, free: 199.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/7.412, allocations: 34.56 kB / 3.292 GB, free: 199.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 1.873e-06/7.412, allocations: 0 / 3.292 GB, free: 199.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.0005919/7.413, allocations: 220.5 kB / 3.292 GB, free: 199.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/7.413, allocations: 55.41 kB / 3.292 GB, free: 199.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/7.413, allocations: 245.1 kB / 3.293 GB, free: 199.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/7.413, allocations: 25.7 kB / 3.293 GB, free: 199.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/7.413, allocations: 192.1 kB / 3.293 GB, free: 199.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.696e-05/7.413, allocations: 66.95 kB / 3.293 GB, free: 199 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-06/7.413, allocations: 0 / 3.293 GB, free: 199 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001081/7.414, allocations: 346.7 kB / 3.293 GB, free: 198.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.739e-05/7.414, allocations: 63.94 kB / 3.293 GB, free: 198.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/7.414, allocations: 115.7 kB / 3.293 GB, free: 198.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/7.414, allocations: 71.97 kB / 3.293 GB, free: 198.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/7.414, allocations: 4 kB / 3.293 GB, free: 198.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002949/7.414, allocations: 222.3 kB / 3.294 GB, free: 198.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/7.414, allocations: 4 kB / 3.294 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/7.414, allocations: 4 kB / 3.294 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/7.414, allocations: 4 kB / 3.294 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/7.414, allocations: 43.92 kB / 3.294 GB, free: 198.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/7.414, allocations: 4 kB / 3.294 GB, free: 198.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002804/7.415, allocations: 23.98 kB / 3.294 GB, free: 198.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/7.415, allocations: 11.98 kB / 3.294 GB, free: 198.1 MB / 1.151 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 () * 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 8.237e-05/7.415, allocations: 108.9 kB / 3.294 GB, free: 198 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003351/7.415, allocations: 207.3 kB / 3.294 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/7.415, allocations: 27.72 kB / 3.294 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.071e-05/7.415, allocations: 38.14 kB / 3.294 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/7.415, allocations: 11.89 kB / 3.294 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/7.415, allocations: 0 / 3.294 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/7.415, allocations: 3.984 kB / 3.294 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/7.416, allocations: 357.8 kB / 3.294 GB, free: 197.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/7.416, allocations: 0 / 3.294 GB, free: 197.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/7.416, allocations: 31.98 kB / 3.295 GB, free: 197.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/7.416, allocations: 40.83 kB / 3.295 GB, free: 197.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/7.416, allocations: 4 kB / 3.295 GB, free: 197.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/7.417, allocations: 1.377 MB / 3.296 GB, free: 195.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/7.417, allocations: 0 / 3.296 GB, free: 195.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004344/7.418, allocations: 373.5 kB / 3.296 GB, free: 195.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/7.418, allocations: 124.8 kB / 3.296 GB, free: 195.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/7.418, allocations: 8 kB / 3.296 GB, free: 195.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/7.418, allocations: 19.78 kB / 3.296 GB, free: 195.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/7.418, allocations: 11.98 kB / 3.296 GB, free: 195.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/7.418, allocations: 11.94 kB / 3.296 GB, free: 195.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001558/7.418, allocations: 200.5 kB / 3.297 GB, free: 194.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/7.418, allocations: 0 / 3.297 GB, free: 194.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005918/7.419, allocations: 139.8 kB / 3.297 GB, free: 194.8 MB / 1.151 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 () * 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.001595/7.421, allocations: 1.616 MB / 3.298 GB, free: 193.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002432/7.421, allocations: 149 kB / 3.298 GB, free: 193 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/7.421, allocations: 0 / 3.298 GB, free: 193 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002831/7.421, allocations: 185.7 kB / 3.299 GB, free: 192.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000927/7.422, allocations: 181.3 kB / 3.299 GB, free: 192.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/7.423, allocations: 0.6209 MB / 3.299 GB, free: 192 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/7.424, allocations: 0.8038 MB / 3.3 GB, free: 191.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002608/7.424, allocations: 63.17 kB / 3.3 GB, free: 191.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/7.424, allocations: 111.4 kB / 3.3 GB, free: 191 MB / 1.151 GB Notification: Performance of SimCode: time 2.81e-07/7.424, allocations: 0 / 3.3 GB, free: 191 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03794/7.462, allocations: 13.49 MB / 3.314 GB, free: 177.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/7.462, allocations: 134 kB / 3.314 GB, free: 177.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.933/10.4, allocations: 4 kB / 3.314 GB, free: 177.4 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat does not exist to compare? outputFormat=mat