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.147/2.147, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001067/0.001067, allocations: 180.9 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 221.3 MB / 0.7915 GB, free: 5.461 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.0008456/0.0008457, allocations: 95.95 kB / 0.9317 GB, free: 5.777 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.72e-05/2.739e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2646, allocations: 143 MB / 1.219 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8635/1.128, allocations: 153.5 MB / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/1.128, allocations: 88.41 kB / 1.369 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02819/1.157, allocations: 11.17 MB / 1.38 GB, free: 7.059 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.02e-07/1.157, allocations: 0 / 1.38 GB, free: 7.059 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.94e-05/1.157, allocations: 16 kB / 1.38 GB, free: 7.043 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.001564/1.158, allocations: 0.8856 MB / 1.381 GB, free: 6.152 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/1.158, allocations: 15.97 kB / 1.381 GB, free: 6.137 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001584/1.158, allocations: 107.2 kB / 1.381 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/1.159, allocations: 91.02 kB / 1.381 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007081/1.159, allocations: 478.8 kB / 1.381 GB, free: 5.559 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/1.159, allocations: 50.88 kB / 1.381 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.504e-05/1.16, allocations: 64.31 kB / 1.382 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009824/1.161, allocations: 0.6237 MB / 1.382 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/1.161, allocations: 3.938 kB / 1.382 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.078e-05/1.161, allocations: 33.44 kB / 1.382 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/1.161, allocations: 16 kB / 1.382 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007266/1.161, allocations: 446 kB / 1.383 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002816/1.164, allocations: 2.087 MB / 1.385 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008156/1.165, allocations: 0.6855 MB / 1.385 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/1.165, allocations: 216.9 kB / 1.386 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/1.165, allocations: 4.375 kB / 1.386 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004164/1.166, allocations: 288.8 kB / 1.386 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=49): time 2.465e-06/1.166, allocations: 8 kB / 1.386 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49): time 0.0006587/1.166, allocations: 407.1 kB / 1.386 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/1.167, allocations: 217.2 kB / 1.386 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005396/1.167, allocations: 486.3 kB / 1.387 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/1.167, allocations: 36.58 kB / 1.387 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/1.167, allocations: 324.2 kB / 1.387 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/1.168, allocations: 159.1 kB / 1.387 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/1.168, allocations: 11.25 kB / 1.387 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.168, allocations: 370.5 kB / 1.388 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/1.168, allocations: 160 kB / 1.388 GB, free: 480 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/1.168, allocations: 267 kB / 1.388 GB, free: 252 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/1.169, allocations: 208.1 kB / 1.388 GB, free: 108 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.169, allocations: 0 / 1.388 GB, free: 108 kB / 0.8386 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008159/1.169, allocations: 0.5282 MB / 1.389 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001575/1.17, allocations: 395.3 kB / 1.389 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/1.17, allocations: 0 / 1.389 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/1.17, allocations: 4 kB / 1.389 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004205/1.17, allocations: 107.8 kB / 1.389 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/1.17, allocations: 11.92 kB / 1.389 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004978/1.171, allocations: 130.7 kB / 1.389 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/1.171, allocations: 15.5 kB / 1.389 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/1.171, allocations: 4 kB / 1.389 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006911/1.171, allocations: 458.4 kB / 1.39 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/1.171, allocations: 4.094 kB / 1.39 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.222e-06/1.171, allocations: 4 kB / 1.39 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/1.172, allocations: 95.81 kB / 1.39 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/1.172, allocations: 4 kB / 1.39 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/1.172, allocations: 121.6 kB / 1.39 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/1.172, allocations: 15.44 kB / 1.39 GB, free: 14.5 MB / 0.8542 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.0001166/1.172, allocations: 132.1 kB / 1.39 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.651e-05/1.172, allocations: 63.25 kB / 1.39 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006582/1.173, allocations: 450.3 kB / 1.391 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.173, allocations: 4 kB / 1.391 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/1.173, allocations: 3.938 kB / 1.391 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/1.173, allocations: 7.984 kB / 1.391 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/1.175, allocations: 1.258 MB / 1.392 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/1.175, allocations: 0 / 1.392 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/1.175, allocations: 102.9 kB / 1.392 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/1.175, allocations: 4 kB / 1.392 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/1.175, allocations: 11.19 kB / 1.392 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.175, allocations: 8.062 kB / 1.392 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.175, allocations: 4 kB / 1.392 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009462/1.176, allocations: 0.7683 MB / 1.393 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/1.176, allocations: 145.7 kB / 1.393 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.742e-05/1.176, allocations: 23.06 kB / 1.393 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/1.177, allocations: 54.59 kB / 1.393 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/1.177, allocations: 35.27 kB / 1.393 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/1.177, allocations: 15.05 kB / 1.393 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005261/1.177, allocations: 387.6 kB / 1.394 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.51e-07/1.177, allocations: 0 / 1.394 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007811/1.178, allocations: 240.3 kB / 1.394 GB, free: 11.56 MB / 0.8542 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.001757/1.18, allocations: 1.629 MB / 1.395 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00126/1.181, allocations: 0.7563 MB / 1.396 GB, free: 9.547 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.181, allocations: 0 / 1.396 GB, free: 9.547 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003223/1.182, allocations: 195.2 kB / 1.396 GB, free: 9.414 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007405/1.182, allocations: 131.3 kB / 1.396 GB, free: 9.32 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/1.184, allocations: 0.8853 MB / 1.397 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/1.185, allocations: 0.9041 MB / 1.398 GB, free: 7.578 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004347/1.185, allocations: 96.84 kB / 1.398 GB, free: 7.484 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/1.185, allocations: 237.2 kB / 1.398 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/1.185, allocations: 0 / 1.398 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0285/1.214, allocations: 13.12 MB / 1.411 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/1.214, allocations: 226.4 kB / 1.411 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/3.361, allocations: 0 / 1.411 GB, free: 10.39 MB / 0.8698 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