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.22/2.22, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001195/0.001195, allocations: 172.9 kB / 496.1 MB, free: 12.88 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.43/1.43, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0008038/0.0008038, allocations: 84.03 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.204e-05/3.238e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2621, allocations: 143 MB / 1.219 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8486/1.111, allocations: 151 MB / 1.366 GB, free: 2.961 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/1.111, allocations: 72.58 kB / 1.366 GB, free: 2.922 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0079/1.119, allocations: 3.104 MB / 1.369 GB, free: 260 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.252e-06/1.119, allocations: 0 / 1.369 GB, free: 260 kB / 0.823 GB Notification: Performance of Transformations before backend: time 9.818e-06/1.119, allocations: 4 kB / 1.37 GB, free: 256 kB / 0.823 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.0005824/1.12, allocations: 453 kB / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/1.12, allocations: 8.031 kB / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.22e-05/1.12, allocations: 53.17 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/1.12, allocations: 35.59 kB / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/1.12, allocations: 191.5 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/1.12, allocations: 23.48 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/1.12, allocations: 15.25 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/1.12, allocations: 174.6 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/1.12, allocations: 0 / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/1.12, allocations: 5.312 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/1.12, allocations: 8 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/1.121, allocations: 126.9 kB / 1.371 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008701/1.121, allocations: 0.6059 MB / 1.371 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/1.122, allocations: 129.2 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.519e-05/1.122, allocations: 53.34 kB / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/1.122, allocations: 4 kB / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/1.122, allocations: 30.56 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/1.122, allocations: 4 kB / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0003202/1.122, allocations: 131 kB / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/1.122, allocations: 55.34 kB / 1.372 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/1.122, allocations: 174.8 kB / 1.372 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/1.122, allocations: 29.14 kB / 1.372 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.444e-05/1.123, allocations: 130.5 kB / 1.372 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/1.123, allocations: 42.39 kB / 1.372 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-06/1.123, allocations: 3.25 kB / 1.372 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.123, allocations: 329 kB / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.849e-05/1.123, allocations: 37.52 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/1.123, allocations: 42.27 kB / 1.372 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.845e-05/1.123, allocations: 33.69 kB / 1.372 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.123, allocations: 0 / 1.372 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002108/1.123, allocations: 124.7 kB / 1.372 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/1.123, allocations: 9.562 kB / 1.372 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/1.123, allocations: 7.969 kB / 1.372 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/1.123, allocations: 0 / 1.372 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/1.123, allocations: 35.23 kB / 1.372 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/1.124, allocations: 0 / 1.372 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/1.124, allocations: 15.89 kB / 1.372 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/1.124, allocations: 7.438 kB / 1.373 GB, free: 13.43 MB / 0.8386 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 () * 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 8.695e-05/1.124, allocations: 109.1 kB / 1.373 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/1.124, allocations: 19.77 kB / 1.373 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/1.124, allocations: 28.27 kB / 1.373 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/1.124, allocations: 0 / 1.373 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.124, allocations: 7.875 kB / 1.373 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/1.124, allocations: 4 kB / 1.373 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/1.124, allocations: 274.7 kB / 1.373 GB, free: 12.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/1.124, allocations: 0 / 1.373 GB, free: 12.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/1.124, allocations: 35.47 kB / 1.373 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/1.124, allocations: 0 / 1.373 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/1.124, allocations: 3.953 kB / 1.373 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/1.124, allocations: 4 kB / 1.373 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/1.124, allocations: 4 kB / 1.373 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/1.125, allocations: 229 kB / 1.373 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/1.125, allocations: 92.91 kB / 1.373 GB, free: 12.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/1.125, allocations: 3.688 kB / 1.373 GB, free: 12.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/1.125, allocations: 15.94 kB / 1.373 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/1.125, allocations: 34.97 kB / 1.373 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/1.125, allocations: 0 / 1.373 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001118/1.125, allocations: 141.2 kB / 1.373 GB, free: 12.47 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.125, allocations: 0 / 1.373 GB, free: 12.47 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002288/1.125, allocations: 27 kB / 1.373 GB, free: 12.45 MB / 0.8386 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 () * 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.000553/1.126, allocations: 0.7937 MB / 1.374 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002091/1.126, allocations: 109 kB / 1.374 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.126, allocations: 0 / 1.374 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/1.126, allocations: 58.19 kB / 1.374 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/1.127, allocations: 20.84 kB / 1.374 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006129/1.127, allocations: 263.3 kB / 1.375 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/1.127, allocations: 0.7363 MB / 1.375 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.112e-05/1.128, allocations: 17.2 kB / 1.375 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.887e-05/1.128, allocations: 62.98 kB / 1.375 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of SimCode: time 4.01e-07/1.128, allocations: 0 / 1.375 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/1.142, allocations: 3.269 MB / 1.379 GB, free: 7.453 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/1.142, allocations: 225.9 kB / 1.379 GB, free: 7.227 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.803, allocations: 0 / 1.379 GB, free: 7.227 MB / 0.8386 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