Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.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.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_SupplySignals_Valve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_SupplySignals_Valve",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.444/2.444, allocations: 390.5 MB / 398 MB, free: 10.94 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.001384/0.001384, allocations: 195.7 kB / 491.2 MB, free: 1.555 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.769/1.769, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009879/0.0009877, allocations: 91.94 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.599e-05, allocations: 4 kB / 1.073 GB, free: 181.8 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2354, allocations: 143 MB / 1.212 GB, free: 39.32 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.27/1.505, allocations: 152.9 MB / 1.362 GB, free: 17.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/1.506, allocations: 85.39 kB / 1.362 GB, free: 17.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.028/1.534, allocations: 11.1 MB / 1.373 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.293e-06/1.534, allocations: 0 / 1.373 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.097e-05/1.534, allocations: 15.44 kB / 1.373 GB, free: 32.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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.001734/1.535, allocations: 0.8854 MB / 1.374 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/1.536, allocations: 11.62 kB / 1.374 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/1.536, allocations: 85.41 kB / 1.374 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007004/1.536, allocations: 483.4 kB / 1.374 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/1.536, allocations: 22.78 kB / 1.374 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.714e-05/1.537, allocations: 45.16 kB / 1.374 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007098/1.537, allocations: 418.4 kB / 1.375 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00087/1.538, allocations: 0.526 MB / 1.375 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/1.538, allocations: 0 / 1.375 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.821e-05/1.538, allocations: 4 kB / 1.375 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/1.538, allocations: 15.53 kB / 1.375 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/1.541, allocations: 1.935 MB / 1.377 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007794/1.542, allocations: 0.6554 MB / 1.378 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/1.542, allocations: 198.3 kB / 1.378 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.505e-05/1.542, allocations: 11.16 kB / 1.378 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004134/1.543, allocations: 271.8 kB / 1.378 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=49): time 3.096e-06/1.543, allocations: 0 / 1.378 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49): time 0.0006489/1.543, allocations: 364.9 kB / 1.378 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.977e-05/1.543, allocations: 222.8 kB / 1.379 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004091/1.544, allocations: 354.6 kB / 1.379 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/1.544, allocations: 29.52 kB / 1.379 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/1.544, allocations: 324.5 kB / 1.379 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/1.544, allocations: 148.6 kB / 1.379 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/1.544, allocations: 3.844 kB / 1.38 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.545, allocations: 351.1 kB / 1.38 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/1.545, allocations: 149.7 kB / 1.38 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/1.545, allocations: 257.8 kB / 1.38 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/1.546, allocations: 179.6 kB / 1.38 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.546, allocations: 0 / 1.38 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007997/1.546, allocations: 475.9 kB / 1.381 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002035/1.547, allocations: 396.1 kB / 1.381 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.547, allocations: 0 / 1.381 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/1.547, allocations: 3.844 kB / 1.381 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/1.547, allocations: 108.9 kB / 1.381 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/1.547, allocations: 3.875 kB / 1.381 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/1.548, allocations: 109.2 kB / 1.381 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/1.548, allocations: 17.89 kB / 1.381 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/1.548, allocations: 3.812 kB / 1.381 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006405/1.548, allocations: 385.9 kB / 1.382 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/1.548, allocations: 0 / 1.382 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.009e-06/1.548, allocations: 3.875 kB / 1.382 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/1.549, allocations: 97.17 kB / 1.382 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/1.549, allocations: 11.69 kB / 1.382 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/1.549, allocations: 99.06 kB / 1.382 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/1.549, allocations: 18.45 kB / 1.382 GB, free: 28.68 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: 6 ($whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.supFanSta.y,supFanSta.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 1 * 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.0001699/1.549, allocations: 116.6 kB / 1.382 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000522/1.55, allocations: 362.5 kB / 1.383 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/1.55, allocations: 50.61 kB / 1.383 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006717/1.551, allocations: 406.5 kB / 1.383 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/1.551, allocations: 3.875 kB / 1.383 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.551, allocations: 0 / 1.383 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/1.551, allocations: 2.719 kB / 1.383 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/1.552, allocations: 1.127 MB / 1.384 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.552, allocations: 0 / 1.384 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004099/1.553, allocations: 96.94 kB / 1.384 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-06/1.553, allocations: 3.906 kB / 1.384 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/1.553, allocations: 3.906 kB / 1.384 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/1.553, allocations: 7.969 kB / 1.384 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.553, allocations: 12.05 kB / 1.384 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009148/1.554, allocations: 0.716 MB / 1.385 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/1.554, allocations: 134.8 kB / 1.385 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.22e-05/1.554, allocations: 7.891 kB / 1.385 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/1.554, allocations: 50.92 kB / 1.385 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/1.554, allocations: 38.14 kB / 1.385 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/1.554, allocations: 18.98 kB / 1.385 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003061/1.555, allocations: 260.4 kB / 1.385 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.1e-07/1.555, allocations: 3.875 kB / 1.385 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008431/1.555, allocations: 239 kB / 1.386 GB, free: 27.29 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (supSig.conTSup.I.y,supSig1.conTSup.I.y) * Number of discrete variables: 5 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,supFanSta.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001711/1.557, allocations: 1.571 MB / 1.387 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001179/1.558, allocations: 0.7032 MB / 1.388 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.558, allocations: 0 / 1.388 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/1.559, allocations: 186.6 kB / 1.388 GB, free: 26 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007226/1.559, allocations: 106.4 kB / 1.388 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/1.561, allocations: 0.8403 MB / 1.389 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006148/1.562, allocations: 0.9041 MB / 1.39 GB, free: 24.74 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005019/1.563, allocations: 82.16 kB / 1.39 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/1.563, allocations: 225.2 kB / 1.39 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of SimCode: time 1.112e-06/1.563, allocations: 0 / 1.39 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04235/1.605, allocations: 10.95 MB / 1.401 GB, free: 19.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003452/1.606, allocations: 218.7 kB / 1.401 GB, free: 19.26 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.474/4.08, allocations: 0 / 1.401 GB, free: 19.26 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_SupplySignals_Valve_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_SupplySignals_Valve.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve_res.mat does not exist to compare? outputFormat=mat