Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.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.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T",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.399/2.399, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001444/0.001444, allocations: 176.9 kB / 487.4 MB, free: 5.055 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.528/1.528, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 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.000875/0.000875, allocations: 95.84 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.203e-05/2.206e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2586, allocations: 142.4 MB / 1.206 GB, free: 43.76 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.869/1.128, allocations: 151.1 MB / 1.354 GB, free: 18.57 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/1.128, allocations: 81.5 kB / 1.354 GB, free: 18.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01944/1.147, allocations: 7.939 MB / 1.362 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.373e-06/1.147, allocations: 0 / 1.362 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.948e-05/1.148, allocations: 23.17 kB / 1.362 GB, free: 33.75 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001202/1.149, allocations: 0.8107 MB / 1.362 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/1.149, allocations: 11.97 kB / 1.362 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/1.149, allocations: 69.94 kB / 1.362 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006588/1.15, allocations: 497.5 kB / 1.363 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/1.15, allocations: 23.06 kB / 1.363 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.884e-05/1.15, allocations: 38.44 kB / 1.363 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006585/1.15, allocations: 426.5 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006954/1.151, allocations: 449.5 kB / 1.364 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/1.151, allocations: 0 / 1.364 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/1.151, allocations: 0 / 1.364 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/1.151, allocations: 23.53 kB / 1.364 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002348/1.154, allocations: 1.57 MB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006353/1.154, allocations: 323.9 kB / 1.366 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/1.154, allocations: 120.8 kB / 1.366 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.175e-05/1.154, allocations: 6.609 kB / 1.366 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/1.154, allocations: 41.94 kB / 1.366 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=35): time 1.724e-06/1.154, allocations: 0 / 1.366 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.0005033/1.155, allocations: 296.5 kB / 1.366 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/1.155, allocations: 55.25 kB / 1.366 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/1.155, allocations: 322.4 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/1.155, allocations: 25.7 kB / 1.367 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/1.156, allocations: 337.1 kB / 1.367 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.45e-05/1.156, allocations: 118.5 kB / 1.367 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/1.156, allocations: 4 kB / 1.367 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.156, allocations: 346.5 kB / 1.367 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/1.156, allocations: 130 kB / 1.367 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/1.156, allocations: 189.7 kB / 1.368 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/1.156, allocations: 145.3 kB / 1.368 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.157, allocations: 3.938 kB / 1.368 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005254/1.157, allocations: 392.6 kB / 1.368 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001757/1.157, allocations: 362.9 kB / 1.368 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.157, allocations: 3.984 kB / 1.368 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/1.157, allocations: 3.844 kB / 1.368 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/1.158, allocations: 101.5 kB / 1.369 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/1.158, allocations: 3.969 kB / 1.369 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/1.158, allocations: 60.06 kB / 1.369 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/1.158, allocations: 22.02 kB / 1.369 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.332e-06/1.158, allocations: 0 / 1.369 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004509/1.159, allocations: 318.4 kB / 1.369 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/1.159, allocations: 7.891 kB / 1.369 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.368e-06/1.159, allocations: 7.938 kB / 1.369 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/1.159, allocations: 94.98 kB / 1.369 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/1.159, allocations: 0 / 1.369 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/1.159, allocations: 41 kB / 1.369 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/1.159, allocations: 17.91 kB / 1.369 GB, free: 30.95 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.setPoiVAV.heaSta.greHys.y,setPoiVAV.heaSta.greHys.y,$PRE.setPoiVAV.gre.greHys.y,setPoiVAV.gre.greHys.y,setPoiVAV.y1SupFan) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 53 * 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.0001223/1.159, allocations: 112.8 kB / 1.369 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003895/1.16, allocations: 288 kB / 1.369 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.315e-05/1.16, allocations: 45.67 kB / 1.37 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005254/1.16, allocations: 350.3 kB / 1.37 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/1.16, allocations: 3.844 kB / 1.37 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/1.16, allocations: 0 / 1.37 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/1.16, allocations: 3.094 kB / 1.37 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/1.162, allocations: 1.059 MB / 1.371 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/1.162, allocations: 3.969 kB / 1.371 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/1.162, allocations: 82.94 kB / 1.371 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/1.162, allocations: 8.156 kB / 1.371 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/1.162, allocations: 11.09 kB / 1.371 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.162, allocations: 3.906 kB / 1.371 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.162, allocations: 7.906 kB / 1.371 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007296/1.163, allocations: 0.7778 MB / 1.372 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.28e-05/1.163, allocations: 136 kB / 1.372 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.536e-05/1.163, allocations: 7.688 kB / 1.372 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/1.163, allocations: 47.17 kB / 1.372 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.054e-05/1.163, allocations: 41.52 kB / 1.372 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/1.163, allocations: 17.52 kB / 1.372 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002417/1.164, allocations: 257.1 kB / 1.372 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.4e-07/1.164, allocations: 0 / 1.372 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005977/1.164, allocations: 197.5 kB / 1.372 GB, free: 29.43 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 1 (setPoiVAV.ramLim.y) * Number of discrete variables: 2 (setPoiVAV.heaSta.greHys.y,setPoiVAV.gre.greHys.y) * Number of discrete states: 2 (setPoiVAV.heaSta.greHys.y,setPoiVAV.gre.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 34 * 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 Backend phase and start with SimCode phase: time 0.001469/1.166, allocations: 2.303 MB / 1.375 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007018/1.166, allocations: 0.4983 MB / 1.375 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.166, allocations: 320 / 1.375 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/1.167, allocations: 142.3 kB / 1.375 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/1.167, allocations: 81.86 kB / 1.375 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/1.169, allocations: 0.79 MB / 1.376 GB, free: 27 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/1.169, allocations: 0.8773 MB / 1.377 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003658/1.169, allocations: 72.81 kB / 1.377 GB, free: 26.28 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/1.17, allocations: 205.5 kB / 1.377 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/1.17, allocations: 3.844 kB / 1.377 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/1.197, allocations: 8.321 MB / 1.385 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/1.197, allocations: 175.3 kB / 1.386 GB, free: 24.08 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/3.259, allocations: 2.391 kB / 1.386 GB, free: 24.08 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T_res.mat does not exist to compare? outputFormat=mat