Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.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.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow",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.344/2.344, allocations: 393.5 MB / 408.4 MB, free: 11 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.001269/0.001269, allocations: 190.6 kB / 0.4901 GB, free: 2.215 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.559/1.559, allocations: 223.1 MB / 0.7992 GB, free: 15.69 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.0008612/0.0008614, allocations: 110.6 kB / 0.9396 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.000353, allocations: 13.47 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2452, allocations: 143 MB / 1.229 GB, free: 85.32 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1754/0.4206, allocations: 151.1 MB / 1.377 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.4209, allocations: 75.94 kB / 1.377 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.007899/0.4288, allocations: 3.107 MB / 1.38 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.839e-06/0.4288, allocations: 3.984 kB / 1.38 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.4289, allocations: 4 kB / 1.38 GB, free: 10.84 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006025/0.4295, allocations: 479 kB / 1.38 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.4295, allocations: 8.562 kB / 1.38 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.417e-05/0.4296, allocations: 50.55 kB / 1.38 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.4296, allocations: 35.66 kB / 1.381 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.4298, allocations: 190.7 kB / 1.381 GB, free: 9.992 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.4298, allocations: 16.44 kB / 1.381 GB, free: 9.977 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.4299, allocations: 16 kB / 1.381 GB, free: 9.961 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004047/0.4303, allocations: 199.3 kB / 1.381 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.4303, allocations: 0 / 1.381 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.4303, allocations: 12 kB / 1.381 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.4303, allocations: 4 kB / 1.381 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/0.4308, allocations: 181.6 kB / 1.381 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008819/0.4316, allocations: 0.5999 MB / 1.382 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.432, allocations: 154.6 kB / 1.382 GB, free: 8.758 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.432, allocations: 0 / 1.382 GB, free: 8.758 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.432, allocations: 34.56 kB / 1.382 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 1.062e-06/0.4321, allocations: 4 kB / 1.382 GB, free: 8.711 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0006324/0.4327, allocations: 243.4 kB / 1.382 GB, free: 8.469 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.4327, allocations: 55.41 kB / 1.382 GB, free: 8.402 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.4329, allocations: 186 kB / 1.382 GB, free: 8.215 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.4329, allocations: 29.7 kB / 1.382 GB, free: 8.18 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.863e-05/0.433, allocations: 128.2 kB / 1.383 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.4331, allocations: 47.52 kB / 1.383 GB, free: 8.004 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-06/0.4331, allocations: 0 / 1.383 GB, free: 8.004 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4332, allocations: 326.8 kB / 1.383 GB, free: 7.676 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.4334, allocations: 59.95 kB / 1.383 GB, free: 7.617 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.4335, allocations: 63.91 kB / 1.383 GB, free: 7.555 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.4337, allocations: 58.08 kB / 1.383 GB, free: 7.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4337, allocations: 3.938 kB / 1.383 GB, free: 7.496 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003793/0.4341, allocations: 173.4 kB / 1.383 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.4341, allocations: 7.953 kB / 1.383 GB, free: 7.312 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.4341, allocations: 0 / 1.383 GB, free: 7.312 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.4341, allocations: 3.938 kB / 1.383 GB, free: 7.309 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.4343, allocations: 35.97 kB / 1.383 GB, free: 7.273 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.4343, allocations: 0 / 1.383 GB, free: 7.273 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.4345, allocations: 23.83 kB / 1.383 GB, free: 7.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.4345, allocations: 4 kB / 1.383 GB, free: 7.246 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001196/0.4346, allocations: 132.1 kB / 1.383 GB, free: 7.109 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.4346, allocations: 19.81 kB / 1.383 GB, free: 7.09 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.15e-05/0.4347, allocations: 25.47 kB / 1.383 GB, free: 7.07 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4347, allocations: 0 / 1.383 GB, free: 7.07 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-06/0.4347, allocations: 11.92 kB / 1.383 GB, free: 7.059 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.4347, allocations: 0 / 1.383 GB, free: 7.059 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.435, allocations: 273.5 kB / 1.384 GB, free: 6.742 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.435, allocations: 0 / 1.384 GB, free: 6.742 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.4352, allocations: 27.97 kB / 1.384 GB, free: 6.715 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.4352, allocations: 0 / 1.384 GB, free: 6.715 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.4352, allocations: 12 kB / 1.384 GB, free: 6.703 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4352, allocations: 3.953 kB / 1.384 GB, free: 6.699 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4352, allocations: 0 / 1.384 GB, free: 6.699 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004367/0.4357, allocations: 280.8 kB / 1.384 GB, free: 6.41 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.4357, allocations: 96.86 kB / 1.384 GB, free: 6.297 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.4357, allocations: 4 kB / 1.384 GB, free: 6.293 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.4359, allocations: 15.98 kB / 1.384 GB, free: 6.277 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/0.436, allocations: 23.92 kB / 1.384 GB, free: 6.254 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.436, allocations: 8 kB / 1.384 GB, free: 6.246 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.533e-05/0.4361, allocations: 140.1 kB / 1.384 GB, free: 6.109 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4361, allocations: 0 / 1.384 GB, free: 6.109 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002496/0.4364, allocations: 43.84 kB / 1.384 GB, free: 6.066 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.heaMaxFlo.u,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0007309/0.4371, allocations: 0.8149 MB / 1.385 GB, free: 5.223 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004055/0.4375, allocations: 154.2 kB / 1.385 GB, free: 5.074 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4375, allocations: 0 / 1.385 GB, free: 5.074 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.4377, allocations: 87.83 kB / 1.385 GB, free: 4.988 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.4379, allocations: 28.12 kB / 1.385 GB, free: 4.961 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.4396, allocations: 1.062 MB / 1.386 GB, free: 3.844 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.44, allocations: 0.7321 MB / 1.387 GB, free: 3.086 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.859e-05/0.4401, allocations: 21.42 kB / 1.387 GB, free: 3.066 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.4402, allocations: 60.27 kB / 1.387 GB, free: 3.008 MB / 0.8855 GB Notification: Performance of SimCode: time 3.01e-07/0.4402, allocations: 0 / 1.387 GB, free: 3.008 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01363/0.4538, allocations: 3.285 MB / 1.39 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.4541, allocations: 265.5 kB / 1.391 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.091, allocations: 0 / 1.391 GB, free: 15.63 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat