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_u.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_u,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",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.184/2.184, allocations: 387.1 MB / 399.7 MB, free: 9.445 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.001031/0.001031, allocations: 176.9 kB / 492.3 MB, free: 0.6094 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.44/1.44, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.001128/0.001128, allocations: 94.86 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.92e-05/2.921e-05, allocations: 8 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.268, allocations: 142.3 MB / 1.213 GB, free: 38.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9105/1.179, allocations: 151.9 MB / 1.361 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/1.179, allocations: 81.52 kB / 1.361 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0506/1.229, allocations: 21.96 MB / 1.382 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.493e-06/1.23, allocations: 4 kB / 1.382 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.853e-05/1.23, allocations: 50.12 kB / 1.382 GB, free: 30.39 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.002946/1.233, allocations: 1.751 MB / 1.384 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/1.233, allocations: 11.41 kB / 1.384 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002485/1.233, allocations: 250.9 kB / 1.384 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/1.233, allocations: 221.2 kB / 1.385 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/1.235, allocations: 1.091 MB / 1.386 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.076e-05/1.235, allocations: 139.5 kB / 1.386 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/1.235, allocations: 177.3 kB / 1.386 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/1.237, allocations: 1.465 MB / 1.387 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/1.238, allocations: 0 / 1.387 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/1.238, allocations: 79.22 kB / 1.387 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.18e-05/1.238, allocations: 42.75 kB / 1.388 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/1.24, allocations: 1.296 MB / 1.389 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007232/1.247, allocations: 4.707 MB / 1.393 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/1.249, allocations: 1.039 MB / 1.394 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000565/1.25, allocations: 427.5 kB / 1.395 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.611e-05/1.25, allocations: 24.11 kB / 1.395 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/1.25, allocations: 56.59 kB / 1.395 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=119): time 3.346e-06/1.25, allocations: 4 kB / 1.395 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=119): time 0.001598/1.251, allocations: 0.9952 MB / 1.396 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/1.251, allocations: 63.94 kB / 1.396 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/1.253, allocations: 1.137 MB / 1.397 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-05/1.253, allocations: 61.95 kB / 1.397 GB, free: 25.63 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004489/1.253, allocations: 0.7198 MB / 1.398 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/1.253, allocations: 394.1 kB / 1.398 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/1.253, allocations: 23.72 kB / 1.398 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.254, allocations: 357.6 kB / 1.399 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006008/1.254, allocations: 400.9 kB / 1.399 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007043/1.255, allocations: 0.5735 MB / 1.399 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006485/1.255, allocations: 445.1 kB / 1.4 GB, free: 24.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.255, allocations: 0 / 1.4 GB, free: 24.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.001647/1.257, allocations: 1.218 MB / 1.401 GB, free: 24.26 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001967/1.257, allocations: 0.6321 MB / 1.402 GB, free: 23.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/1.257, allocations: 3.906 kB / 1.402 GB, free: 23.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/1.257, allocations: 3.969 kB / 1.402 GB, free: 23.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/1.258, allocations: 289.9 kB / 1.402 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/1.259, allocations: 11.72 kB / 1.402 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000916/1.259, allocations: 234.5 kB / 1.402 GB, free: 23.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-05/1.26, allocations: 43.81 kB / 1.402 GB, free: 23.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/1.26, allocations: 3.906 kB / 1.402 GB, free: 23.39 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001471/1.261, allocations: 1.035 MB / 1.403 GB, free: 23.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/1.261, allocations: 0 / 1.403 GB, free: 23.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/1.261, allocations: 15.94 kB / 1.403 GB, free: 23.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009433/1.262, allocations: 273.9 kB / 1.404 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/1.262, allocations: 8 kB / 1.404 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008068/1.263, allocations: 197.6 kB / 1.404 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.576e-05/1.263, allocations: 45.8 kB / 1.404 GB, free: 22.54 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setPoiVAV.heaSta.greHys.y,setPoiVAV.heaSta.greHys.y,$PRE.setPoiVAV.gre.greHys.y,setPoiVAV.gre.greHys.y,$PRE.setPoiVAV1.heaSta.greHys.y,setPoiVAV1.heaSta.greHys.y,$PRE.setPoiVAV1.gre.greHys.y,setPoiVAV1.gre.greHys.y,$PRE.setPoiVAV2.heaSta.greHys.y,setPoiVAV2.heaSta.greHys.y,$PRE.setPoiVAV2.gre.greHys.y,setPoiVAV2.gre.greHys.y,setPoiVAV2.y1SupFan,setPoiVAV1.y1SupFan,setPoiVAV.y1SupFan) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 155 * 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.0002545/1.263, allocations: 185.8 kB / 1.404 GB, free: 22.39 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/1.263, allocations: 158 kB / 1.404 GB, free: 22.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/1.266, allocations: 1.601 MB / 1.406 GB, free: 21.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/1.266, allocations: 15.95 kB / 1.406 GB, free: 21.11 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.266, allocations: 0 / 1.406 GB, free: 21.11 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/1.266, allocations: 7.969 kB / 1.406 GB, free: 21.1 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004435/1.27, allocations: 3.755 MB / 1.409 GB, free: 18.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/1.27, allocations: 11.94 kB / 1.409 GB, free: 18.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009722/1.271, allocations: 272.3 kB / 1.41 GB, free: 18.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-05/1.271, allocations: 16 kB / 1.41 GB, free: 18.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.632e-05/1.271, allocations: 48.23 kB / 1.41 GB, free: 18.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.261e-05/1.271, allocations: 23.88 kB / 1.41 GB, free: 18.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/1.271, allocations: 15.94 kB / 1.41 GB, free: 18.04 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/1.274, allocations: 2.683 MB / 1.412 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002994/1.274, allocations: 278.3 kB / 1.413 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/1.274, allocations: 48.61 kB / 1.413 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000994/1.275, allocations: 156.6 kB / 1.413 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/1.275, allocations: 166.6 kB / 1.413 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.119e-05/1.276, allocations: 56.38 kB / 1.413 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001179/1.277, allocations: 0.8956 MB / 1.414 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3e-07/1.277, allocations: 4 kB / 1.414 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001334/1.278, allocations: 0.5282 MB / 1.414 GB, free: 13.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 3 (setPoiVAV.ramLim.y,setPoiVAV1.ramLim.y,setPoiVAV2.ramLim.y) * Number of discrete variables: 6 (setPoiVAV.heaSta.greHys.y,setPoiVAV.gre.greHys.y,setPoiVAV1.heaSta.greHys.y,setPoiVAV1.gre.greHys.y,setPoiVAV2.heaSta.greHys.y,setPoiVAV2.gre.greHys.y) * Number of discrete states: 6 (setPoiVAV2.heaSta.greHys.y,setPoiVAV1.heaSta.greHys.y,setPoiVAV.heaSta.greHys.y,setPoiVAV2.gre.greHys.y,setPoiVAV1.gre.greHys.y,setPoiVAV.gre.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 126 * 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.004219/1.282, allocations: 6.261 MB / 1.421 GB, free: 7.867 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002734/1.285, allocations: 1.653 MB / 1.422 GB, free: 6.781 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/1.285, allocations: 4.188 kB / 1.422 GB, free: 6.777 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/1.286, allocations: 0.5907 MB / 1.423 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/1.288, allocations: 282.4 kB / 1.423 GB, free: 6.176 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004688/1.292, allocations: 2.494 MB / 1.425 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000801/1.293, allocations: 1.282 MB / 1.427 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001248/1.294, allocations: 288.1 kB / 1.427 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007806/1.295, allocations: 0.6747 MB / 1.428 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of SimCode: time 9.82e-07/1.295, allocations: 0 / 1.428 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05702/1.352, allocations: 30.34 MB / 1.457 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/1.352, allocations: 187.6 kB / 1.457 GB, free: 3.875 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.157/4.51, allocations: 5.719 kB / 1.457 GB, free: 3.871 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.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_u_res.mat does not exist to compare? outputFormat=mat