Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.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.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.282/2.282, 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.001015/0.001015, allocations: 182 kB / 491.2 MB, free: 1.59 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.421/1.421, allocations: 221.5 MB / 0.7868 GB, free: 13.24 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.0009472/0.0009473, allocations: 95.83 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.795e-05/1.799e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2728, allocations: 143 MB / 1.212 GB, free: 39.34 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9676/1.24, allocations: 152 MB / 1.361 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/1.241, allocations: 76.58 kB / 1.361 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0512/1.292, allocations: 21.8 MB / 1.382 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.633e-06/1.292, allocations: 3.938 kB / 1.382 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001121/1.292, allocations: 50.22 kB / 1.382 GB, free: 29.09 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.003122/1.295, allocations: 1.758 MB / 1.384 GB, free: 28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/1.295, allocations: 11.53 kB / 1.384 GB, free: 28 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003204/1.296, allocations: 213.7 kB / 1.384 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/1.297, allocations: 1.089 MB / 1.385 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.361e-05/1.297, allocations: 57.78 kB / 1.385 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/1.298, allocations: 110.8 kB / 1.385 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001969/1.3, allocations: 1.211 MB / 1.387 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/1.302, allocations: 1.213 MB / 1.388 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/1.302, allocations: 0 / 1.388 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/1.302, allocations: 3.938 kB / 1.388 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/1.302, allocations: 50.38 kB / 1.388 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00652/1.308, allocations: 4.182 MB / 1.392 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/1.31, allocations: 0.9906 MB / 1.393 GB, free: 25.24 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005074/1.311, allocations: 394.1 kB / 1.393 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.691e-05/1.311, allocations: 31.97 kB / 1.393 GB, free: 25.22 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/1.311, allocations: 56.78 kB / 1.393 GB, free: 25.17 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=119): time 3.076e-06/1.311, allocations: 0 / 1.393 GB, free: 25.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=119): time 0.001441/1.312, allocations: 0.9006 MB / 1.394 GB, free: 25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/1.312, allocations: 68.23 kB / 1.394 GB, free: 24.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007185/1.313, allocations: 0.6571 MB / 1.395 GB, free: 24.74 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.538e-05/1.313, allocations: 40.28 kB / 1.395 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005281/1.314, allocations: 0.7449 MB / 1.396 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/1.314, allocations: 385.1 kB / 1.396 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/1.314, allocations: 0 / 1.396 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.314, allocations: 348.7 kB / 1.396 GB, free: 23.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005618/1.315, allocations: 392 kB / 1.397 GB, free: 23.65 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006272/1.315, allocations: 0.5347 MB / 1.397 GB, free: 23.49 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006063/1.316, allocations: 425.3 kB / 1.398 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.316, allocations: 3.969 kB / 1.398 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.001511/1.318, allocations: 1.08 MB / 1.399 GB, free: 23.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002181/1.318, allocations: 0.6209 MB / 1.399 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/1.318, allocations: 3.812 kB / 1.399 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/1.318, allocations: 7.688 kB / 1.399 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/1.319, allocations: 292.5 kB / 1.4 GB, free: 22.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/1.319, allocations: 7.531 kB / 1.4 GB, free: 22.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007548/1.32, allocations: 139.5 kB / 1.4 GB, free: 22.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.656e-05/1.32, allocations: 42.36 kB / 1.4 GB, free: 22.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/1.32, allocations: 3.562 kB / 1.4 GB, free: 22.45 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001275/1.321, allocations: 0.9246 MB / 1.401 GB, free: 22.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/1.321, allocations: 0 / 1.401 GB, free: 22.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/1.321, allocations: 7.688 kB / 1.401 GB, free: 22.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009557/1.322, allocations: 275.6 kB / 1.401 GB, free: 22.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/1.322, allocations: 7.688 kB / 1.401 GB, free: 22.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006555/1.323, allocations: 112.9 kB / 1.401 GB, free: 22.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.84e-05/1.323, allocations: 41.62 kB / 1.401 GB, free: 22.23 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.0002378/1.323, allocations: 134.1 kB / 1.401 GB, free: 22.1 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001238/1.324, allocations: 0.8977 MB / 1.402 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/1.325, allocations: 116.3 kB / 1.402 GB, free: 21.86 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/1.326, allocations: 1.482 MB / 1.404 GB, free: 21.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/1.327, allocations: 11.5 kB / 1.404 GB, free: 21.42 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/1.327, allocations: 0 / 1.404 GB, free: 21.42 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/1.327, allocations: 3.984 kB / 1.404 GB, free: 21.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004496/1.331, allocations: 3.421 MB / 1.407 GB, free: 19.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/1.331, allocations: 16.12 kB / 1.407 GB, free: 19.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009408/1.332, allocations: 266.2 kB / 1.407 GB, free: 19.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.036e-05/1.332, allocations: 23.95 kB / 1.407 GB, free: 19.06 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.137e-05/1.332, allocations: 27.42 kB / 1.407 GB, free: 19.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.706e-05/1.332, allocations: 27.92 kB / 1.407 GB, free: 19.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/1.332, allocations: 15.94 kB / 1.408 GB, free: 18.99 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/1.335, allocations: 2.433 MB / 1.41 GB, free: 16.75 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/1.335, allocations: 222 kB / 1.41 GB, free: 16.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/1.335, allocations: 27.3 kB / 1.41 GB, free: 16.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000903/1.336, allocations: 131.9 kB / 1.41 GB, free: 16.38 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/1.336, allocations: 174.5 kB / 1.41 GB, free: 16.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.508e-05/1.336, allocations: 53.11 kB / 1.41 GB, free: 16.18 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006334/1.337, allocations: 0.5143 MB / 1.411 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.337, allocations: 0 / 1.411 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001362/1.338, allocations: 0.5592 MB / 1.412 GB, free: 15.24 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.00431/1.343, allocations: 6.124 MB / 1.417 GB, free: 9.398 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002573/1.345, allocations: 1.534 MB / 1.419 GB, free: 8.418 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/1.345, allocations: 192 / 1.419 GB, free: 8.418 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/1.346, allocations: 0.5634 MB / 1.42 GB, free: 8.039 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/1.348, allocations: 219.8 kB / 1.42 GB, free: 7.871 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004614/1.352, allocations: 2.325 MB / 1.422 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008628/1.353, allocations: 1.284 MB / 1.423 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001212/1.354, allocations: 237.7 kB / 1.423 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000734/1.355, allocations: 0.6532 MB / 1.424 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of SimCode: time 9.91e-07/1.355, allocations: 4 kB / 1.424 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05956/1.415, allocations: 24.5 MB / 1.448 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002954/1.415, allocations: 185.3 kB / 1.448 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/4.286, allocations: 1.406 kB / 1.448 GB, free: 11.42 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u.fmu > Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat does not exist to compare? outputFormat=mat