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.0009546/0.0009548, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008362/0.0008363, allocations: 172.7 kB / 15.95 MB, free: 208 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.362/1.362, allocations: 223.2 MB / 240 MB, free: 5.406 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.352/2.352, allocations: 390.4 MB / 0.6655 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003265, allocations: 12 kB / 0.8149 GB, free: 14.02 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7379/0.7383, allocations: 142.3 MB / 0.9539 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.001327/0.7397, allocations: 0.775 MB / 0.9547 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.7408, allocations: 0.9892 MB / 0.9556 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.142e-05/0.7409, allocations: 3.656 kB / 0.9556 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.741, allocations: 11.86 kB / 0.9556 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.7411, allocations: 10.44 kB / 0.9556 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.7413, allocations: 58.44 kB / 0.9557 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.7415, allocations: 192.1 kB / 0.9559 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.7417, allocations: 97.3 kB / 0.956 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.7418, allocations: 60.09 kB / 0.956 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.751e-05/0.742, allocations: 68.95 kB / 0.9561 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.742, allocations: 4.969 kB / 0.9561 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.951e-05/0.742, allocations: 5.625 kB / 0.9561 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/0.742, allocations: 26.61 kB / 0.9561 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.685e-05/0.7421, allocations: 50.55 kB / 0.9562 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.7423, allocations: 212.8 kB / 0.9564 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.7423, allocations: 4 kB / 0.9564 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.876e-06/0.7423, allocations: 1 kB / 0.9564 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.7423, allocations: 0 / 0.9564 GB, free: 6.121 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.0006249/0.7429, allocations: 468.9 kB / 0.9568 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.743, allocations: 10.31 kB / 0.9569 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.477e-05/0.743, allocations: 52.05 kB / 0.9569 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.7431, allocations: 30.7 kB / 0.9569 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.7436, allocations: 280.2 kB / 0.9572 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.7436, allocations: 17.66 kB / 0.9572 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.7436, allocations: 16.41 kB / 0.9572 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004132/0.7441, allocations: 191.6 kB / 0.9574 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.7441, allocations: 1.375 kB / 0.9574 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.7441, allocations: 9.422 kB / 0.9574 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.7441, allocations: 4.469 kB / 0.9574 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004036/0.7445, allocations: 166.7 kB / 0.9576 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007746/0.7453, allocations: 0.5688 MB / 0.9581 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.7456, allocations: 129.8 kB / 0.9583 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.7458, allocations: 67.02 kB / 0.9583 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.7458, allocations: 6.156 kB / 0.9583 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.7459, allocations: 40.72 kB / 0.9584 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.7459, allocations: 0 / 0.9584 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0005843/0.7465, allocations: 215.2 kB / 0.9586 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.7465, allocations: 52.78 kB / 0.9586 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.7467, allocations: 175.2 kB / 0.9588 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.7467, allocations: 31.02 kB / 0.9588 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/0.7468, allocations: 146.5 kB / 0.959 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.7468, allocations: 44.89 kB / 0.959 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.7468, allocations: 1.656 kB / 0.959 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.167e-05/0.7469, allocations: 325.5 kB / 0.9593 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.7471, allocations: 60.45 kB / 0.9594 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.7473, allocations: 105.2 kB / 0.9595 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.7475, allocations: 59.23 kB / 0.9595 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.7475, allocations: 0.625 kB / 0.9595 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003993/0.7479, allocations: 192.4 kB / 0.9597 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.7479, allocations: 5.031 kB / 0.9597 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7479, allocations: 2.125 kB / 0.9597 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.7479, allocations: 2.094 kB / 0.9597 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.7481, allocations: 41.62 kB / 0.9598 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.7481, allocations: 6.562 kB / 0.9598 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.7482, allocations: 22.95 kB / 0.9598 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.7483, allocations: 10.03 kB / 0.9598 GB, free: 3.328 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.0001024/0.7484, allocations: 140.9 kB / 0.9599 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.7484, allocations: 10.75 kB / 0.96 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.7485, allocations: 28.64 kB / 0.96 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.7485, allocations: 1.469 kB / 0.96 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.7485, allocations: 0.8438 kB / 0.96 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.7485, allocations: 0 / 0.96 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.7487, allocations: 262.2 kB / 0.9602 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7487, allocations: 0 / 0.9602 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.7489, allocations: 34.94 kB / 0.9603 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.7489, allocations: 1.188 kB / 0.9603 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.7489, allocations: 0.7188 kB / 0.9603 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.7489, allocations: 0.8438 kB / 0.9603 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7489, allocations: 4 kB / 0.9603 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.7493, allocations: 274.5 kB / 0.9605 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.7493, allocations: 89.12 kB / 0.9606 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.7494, allocations: 9.312 kB / 0.9606 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.7495, allocations: 12.23 kB / 0.9606 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.315e-05/0.7496, allocations: 24.22 kB / 0.9607 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.7496, allocations: 2.75 kB / 0.9607 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.116e-05/0.7497, allocations: 123.2 kB / 0.9608 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7497, allocations: 3.938 kB / 0.9608 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002649/0.7499, allocations: 43.12 kB / 0.9608 GB, free: 2.43 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.000596/0.7505, allocations: 0.8111 MB / 0.9616 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004063/0.7509, allocations: 151.6 kB / 0.9618 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.751, allocations: 1.375 kB / 0.9618 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.7511, allocations: 77.86 kB / 0.9618 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.7515, allocations: 18.91 kB / 0.9619 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.7532, allocations: 0.9771 MB / 0.9628 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.7534, allocations: 0.7282 MB / 0.9635 GB, free: 152 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.7535, allocations: 23.95 kB / 0.9635 GB, free: 136 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.7537, allocations: 61.72 kB / 0.9636 GB, free: 84 kB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.7537, allocations: 0 / 0.9636 GB, free: 84 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01533/0.769, allocations: 3.015 MB / 0.9665 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/0.7693, allocations: 250.8 kB / 0.9668 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.587, allocations: 0 / 0.9668 GB, free: 14.42 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