Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001068, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.417/2.417, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003414, allocations: 12 kB / 0.8147 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6514/0.6517, allocations: 142.3 MB / 0.9536 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.001165/0.6529, allocations: 0.7727 MB / 0.9544 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.6542, allocations: 0.9863 MB / 0.9554 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.6543, allocations: 3.219 kB / 0.9554 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.997e-05/0.6544, allocations: 11.86 kB / 0.9554 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.6545, allocations: 28.48 kB / 0.9554 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.6547, allocations: 59.16 kB / 0.9555 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.6549, allocations: 117.9 kB / 0.9556 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.6551, allocations: 93.47 kB / 0.9557 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.6552, allocations: 58.7 kB / 0.9557 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.6554, allocations: 64.69 kB / 0.9558 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.6554, allocations: 5.844 kB / 0.9558 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.107e-05/0.6554, allocations: 10.12 kB / 0.9558 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.471e-05/0.6554, allocations: 25.52 kB / 0.9558 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.49e-05/0.6555, allocations: 53.95 kB / 0.9559 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.6557, allocations: 214.5 kB / 0.9561 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.6557, allocations: 0 / 0.9561 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6557, allocations: 0 / 0.9561 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.6557, allocations: 0 / 0.9561 GB, free: 6.211 MB / 0.7169 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.0005843/0.6563, allocations: 469.4 kB / 0.9565 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.6563, allocations: 9.625 kB / 0.9565 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.973e-05/0.6564, allocations: 57.12 kB / 0.9566 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.568e-05/0.6565, allocations: 25.61 kB / 0.9566 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.6569, allocations: 279.8 kB / 0.9569 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.6569, allocations: 20.41 kB / 0.9569 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.657, allocations: 19.67 kB / 0.9569 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.6574, allocations: 187.6 kB / 0.9571 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.6574, allocations: 4 kB / 0.9571 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.6574, allocations: 6.75 kB / 0.9571 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.6574, allocations: 3.875 kB / 0.9571 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003999/0.6578, allocations: 167.1 kB / 0.9573 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007711/0.6586, allocations: 0.5655 MB / 0.9578 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.6589, allocations: 132.6 kB / 0.9579 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.6589, allocations: 9.203 kB / 0.958 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.6589, allocations: 35.84 kB / 0.958 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 2.024e-06/0.659, allocations: 3.984 kB / 0.958 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0005971/0.6596, allocations: 221.2 kB / 0.9582 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.6596, allocations: 53.34 kB / 0.9583 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.6597, allocations: 175.5 kB / 0.9584 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.6598, allocations: 30.86 kB / 0.9585 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.6598, allocations: 142.3 kB / 0.9586 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.6599, allocations: 33.06 kB / 0.9586 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-06/0.6599, allocations: 5.375 kB / 0.9586 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.55e-05/0.6599, allocations: 325.7 kB / 0.9589 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.6601, allocations: 60.67 kB / 0.959 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.6603, allocations: 99.97 kB / 0.9591 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.6605, allocations: 59.97 kB / 0.9591 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.6605, allocations: 10 kB / 0.9592 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003867/0.6609, allocations: 192.7 kB / 0.9593 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.6609, allocations: 5.75 kB / 0.9593 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.6609, allocations: 5.016 kB / 0.9593 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.6609, allocations: 6.938 kB / 0.9594 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.6611, allocations: 34.67 kB / 0.9594 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.6611, allocations: 5.375 kB / 0.9594 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.6612, allocations: 22.83 kB / 0.9594 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.6613, allocations: 9.5 kB / 0.9594 GB, free: 3.445 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001033/0.6614, allocations: 138.1 kB / 0.9596 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.6614, allocations: 14.77 kB / 0.9596 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.839e-05/0.6615, allocations: 20.28 kB / 0.9596 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.6615, allocations: 1.375 kB / 0.9596 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6615, allocations: 1.375 kB / 0.9596 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.6615, allocations: 0 / 0.9596 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.6617, allocations: 273.3 kB / 0.9599 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6617, allocations: 0 / 0.9599 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.6619, allocations: 27.17 kB / 0.9599 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.6619, allocations: 1.375 kB / 0.9599 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.6619, allocations: 7.984 kB / 0.9599 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.6619, allocations: 1.375 kB / 0.9599 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6619, allocations: 4 kB / 0.9599 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.6623, allocations: 264.3 kB / 0.9601 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.913e-05/0.6623, allocations: 85.14 kB / 0.9602 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.6624, allocations: 5.375 kB / 0.9602 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.6625, allocations: 12.23 kB / 0.9602 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.6625, allocations: 20.22 kB / 0.9603 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.6626, allocations: 6.75 kB / 0.9603 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.689e-05/0.6626, allocations: 123.2 kB / 0.9604 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6626, allocations: 0 / 0.9604 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002766/0.6629, allocations: 39.12 kB / 0.9604 GB, free: 2.566 MB / 0.7169 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.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.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.0006077/0.6635, allocations: 0.8167 MB / 0.9612 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004149/0.664, allocations: 157.1 kB / 0.9614 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.664, allocations: 0.75 kB / 0.9614 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.6642, allocations: 72.67 kB / 0.9614 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.6644, allocations: 18.73 kB / 0.9615 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.6662, allocations: 1.727 MB / 0.9631 GB, free: 252 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.6665, allocations: 0.7426 MB / 0.9639 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001166/0.6666, allocations: 19.7 kB / 0.9639 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.6667, allocations: 62.97 kB / 0.9639 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.6667, allocations: 0 / 0.9639 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01515/0.6819, allocations: 2.997 MB / 0.9669 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003235/0.6823, allocations: 252.8 kB / 0.9671 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.463, allocations: 0.5625 kB / 0.9671 GB, free: 13.89 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat