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.362/2.362, allocations: 387.1 MB / 399.7 MB, free: 9.566 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.001015/0.001015, allocations: 188.1 kB / 492.3 MB, free: 0.6445 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.565/1.565, allocations: 221.3 MB / 0.7872 GB, free: 12.94 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.0009517/0.0009515, allocations: 87.89 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.356e-05/4.359e-05, allocations: 6.188 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2663, allocations: 142.3 MB / 1.213 GB, free: 38.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9567/1.223, allocations: 151.8 MB / 1.361 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/1.223, allocations: 77.03 kB / 1.361 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02547/1.249, allocations: 7.997 MB / 1.369 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.164e-06/1.249, allocations: 0 / 1.369 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.301e-05/1.249, allocations: 19.34 kB / 1.369 GB, free: 34.2 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.001631/1.251, allocations: 0.8147 MB / 1.37 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/1.251, allocations: 11.5 kB / 1.37 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/1.251, allocations: 107.8 kB / 1.37 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/1.251, allocations: 80.69 kB / 1.37 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000961/1.252, allocations: 485.1 kB / 1.37 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.874e-05/1.252, allocations: 49.34 kB / 1.37 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/1.252, allocations: 65.28 kB / 1.37 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/1.254, allocations: 0.5265 MB / 1.371 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/1.254, allocations: 8 kB / 1.371 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-05/1.254, allocations: 24.53 kB / 1.371 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/1.254, allocations: 15.25 kB / 1.371 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/1.255, allocations: 457.1 kB / 1.371 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003771/1.258, allocations: 1.749 MB / 1.373 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000982/1.259, allocations: 333.8 kB / 1.373 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/1.26, allocations: 138.4 kB / 1.373 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.098e-05/1.26, allocations: 11.58 kB / 1.373 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/1.26, allocations: 38.03 kB / 1.373 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=35): time 3.376e-06/1.26, allocations: 0 / 1.373 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.0008554/1.261, allocations: 325.4 kB / 1.374 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/1.261, allocations: 62.3 kB / 1.374 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008749/1.262, allocations: 0.5152 MB / 1.374 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.803e-05/1.262, allocations: 39.73 kB / 1.374 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/1.262, allocations: 303.3 kB / 1.375 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/1.262, allocations: 127.9 kB / 1.375 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/1.262, allocations: 13.72 kB / 1.375 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001905/1.262, allocations: 362.2 kB / 1.375 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/1.263, allocations: 137.7 kB / 1.375 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/1.263, allocations: 203.2 kB / 1.375 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/1.264, allocations: 148.1 kB / 1.376 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/1.264, allocations: 3.953 kB / 1.376 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009899/1.265, allocations: 447.3 kB / 1.376 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002002/1.265, allocations: 361.2 kB / 1.376 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.265, allocations: 3.969 kB / 1.376 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/1.265, allocations: 3.953 kB / 1.376 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006178/1.266, allocations: 110.5 kB / 1.377 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/1.266, allocations: 0 / 1.377 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/1.266, allocations: 91.27 kB / 1.377 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/1.266, allocations: 14.28 kB / 1.377 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/1.266, allocations: 7.875 kB / 1.377 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008262/1.267, allocations: 355.4 kB / 1.377 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/1.267, allocations: 3.875 kB / 1.377 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.652e-06/1.267, allocations: 0 / 1.377 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/1.268, allocations: 94.77 kB / 1.377 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/1.268, allocations: 7.812 kB / 1.377 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004212/1.268, allocations: 77.91 kB / 1.377 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/1.268, allocations: 15.38 kB / 1.377 GB, free: 31.27 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.0001772/1.268, allocations: 125.3 kB / 1.377 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/1.268, allocations: 62.2 kB / 1.377 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009219/1.269, allocations: 386.3 kB / 1.378 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/1.269, allocations: 7.844 kB / 1.378 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.269, allocations: 6.719 kB / 1.378 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/1.269, allocations: 0 / 1.378 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/1.271, allocations: 1.173 MB / 1.379 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/1.272, allocations: 3.906 kB / 1.379 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/1.272, allocations: 80.84 kB / 1.379 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/1.272, allocations: 3.812 kB / 1.379 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.026e-05/1.272, allocations: 14.39 kB / 1.379 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-06/1.272, allocations: 7.75 kB / 1.379 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.272, allocations: 7.844 kB / 1.379 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/1.273, allocations: 0.8311 MB / 1.38 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/1.274, allocations: 157.9 kB / 1.38 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.221e-05/1.274, allocations: 12.94 kB / 1.38 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005316/1.274, allocations: 50.55 kB / 1.38 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/1.274, allocations: 43.61 kB / 1.38 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/1.274, allocations: 18.23 kB / 1.38 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006321/1.275, allocations: 417.9 kB / 1.38 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.81e-07/1.275, allocations: 3.938 kB / 1.38 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000939/1.276, allocations: 179.5 kB / 1.381 GB, free: 29.78 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.001836/1.278, allocations: 2.37 MB / 1.383 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001181/1.279, allocations: 0.5417 MB / 1.383 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.279, allocations: 0 / 1.383 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003141/1.279, allocations: 151.8 kB / 1.384 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008153/1.28, allocations: 101.8 kB / 1.384 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/1.282, allocations: 0.8354 MB / 1.385 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/1.283, allocations: 0.8793 MB / 1.385 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0006371/1.283, allocations: 99.23 kB / 1.385 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/1.284, allocations: 215.3 kB / 1.386 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/1.284, allocations: 0 / 1.386 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/1.314, allocations: 11.02 MB / 1.396 GB, free: 22.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/1.314, allocations: 188.4 kB / 1.397 GB, free: 21.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/3.548, allocations: 1.891 kB / 1.397 GB, free: 21.98 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