Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_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.001042/0.001042, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001233/0.001233, allocations: 168.7 kB / 15.95 MB, free: 204 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.487/1.487, allocations: 223.3 MB / 240 MB, free: 5.391 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.464/2.464, allocations: 390.4 MB / 0.6655 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003644, allocations: 8 kB / 0.8149 GB, free: 14.02 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7464/0.7468, allocations: 142.3 MB / 0.9539 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.001217/0.7481, allocations: 0.9153 MB / 0.9548 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.7493, allocations: 1.042 MB / 0.9558 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.7495, allocations: 7.781 kB / 0.9558 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.7496, allocations: 21.34 kB / 0.9558 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.996e-05/0.7497, allocations: 18.55 kB / 0.9559 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.7499, allocations: 72.92 kB / 0.9559 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000235/0.7501, allocations: 255.4 kB / 0.9562 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002607/0.7504, allocations: 126.5 kB / 0.9563 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.7506, allocations: 73.73 kB / 0.9564 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.7507, allocations: 83.86 kB / 0.9564 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.7508, allocations: 7.031 kB / 0.9565 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.359e-05/0.7508, allocations: 7.062 kB / 0.9565 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.7508, allocations: 30.44 kB / 0.9565 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.7509, allocations: 61.98 kB / 0.9565 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.7511, allocations: 300.5 kB / 0.9568 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7511, allocations: 0 / 0.9568 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7511, allocations: 5.219 kB / 0.9568 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.7511, allocations: 0 / 0.9568 GB, free: 5.738 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006615/0.7518, allocations: 0.5019 MB / 0.9573 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.7518, allocations: 9.312 kB / 0.9573 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.687e-05/0.7519, allocations: 66.47 kB / 0.9574 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.596e-05/0.752, allocations: 30.02 kB / 0.9574 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004677/0.7525, allocations: 318 kB / 0.9577 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.7525, allocations: 19.12 kB / 0.9578 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.7525, allocations: 23.28 kB / 0.9578 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004405/0.753, allocations: 243.5 kB / 0.958 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.753, allocations: 0 / 0.958 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.753, allocations: 6.25 kB / 0.958 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/0.753, allocations: 6.656 kB / 0.958 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004255/0.7535, allocations: 192.8 kB / 0.9582 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000914/0.7544, allocations: 0.6627 MB / 0.9588 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/0.7548, allocations: 165.3 kB / 0.959 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.755, allocations: 72.17 kB / 0.9591 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.755, allocations: 1.812 kB / 0.9591 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.755, allocations: 40.38 kB / 0.9591 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/0.755, allocations: 0 / 0.9591 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0005812/0.7556, allocations: 238.7 kB / 0.9593 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.7556, allocations: 56.73 kB / 0.9594 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.7558, allocations: 206.5 kB / 0.9596 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.7558, allocations: 32.45 kB / 0.9596 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.7559, allocations: 161.8 kB / 0.9598 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.7559, allocations: 52.86 kB / 0.9598 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.08e-05/0.756, allocations: 5.375 kB / 0.9598 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.882e-05/0.756, allocations: 331 kB / 0.9601 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.7562, allocations: 65.08 kB / 0.9602 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.7564, allocations: 122.4 kB / 0.9603 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.7565, allocations: 69.53 kB / 0.9604 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7566, allocations: 0 / 0.9604 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000437/0.757, allocations: 231.4 kB / 0.9606 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.757, allocations: 5.312 kB / 0.9606 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.757, allocations: 2.156 kB / 0.9606 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.7571, allocations: 2.75 kB / 0.9606 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.7573, allocations: 42.09 kB / 0.9607 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.7573, allocations: 7.062 kB / 0.9607 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.7574, allocations: 37.03 kB / 0.9607 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.7574, allocations: 11.02 kB / 0.9607 GB, free: 2.645 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,$PRE.actAirSet.gre.greHys.y,actAirSet.gre.greHys.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 (25): * Single equations (assignments): 25 * 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.0001466/0.7576, allocations: 141.6 kB / 0.9609 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.7577, allocations: 23.97 kB / 0.9609 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.324e-05/0.7577, allocations: 21.53 kB / 0.9609 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.7577, allocations: 2.5 kB / 0.9609 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.7577, allocations: 8 kB / 0.9609 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.7577, allocations: 4.953 kB / 0.9609 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.758, allocations: 292.7 kB / 0.9612 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.758, allocations: 0 / 0.9612 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.7582, allocations: 27.94 kB / 0.9612 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.7582, allocations: 0.9688 kB / 0.9612 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.7582, allocations: 8.938 kB / 0.9612 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.7582, allocations: 4.969 kB / 0.9612 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.7582, allocations: 0.9688 kB / 0.9612 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.7586, allocations: 284.8 kB / 0.9615 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.7586, allocations: 93.86 kB / 0.9616 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.7587, allocations: 10.66 kB / 0.9616 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.7588, allocations: 16.75 kB / 0.9616 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-05/0.7589, allocations: 30.58 kB / 0.9616 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.7589, allocations: 4.156 kB / 0.9617 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.506e-05/0.759, allocations: 134.9 kB / 0.9618 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.759, allocations: 0 / 0.9618 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003759/0.7594, allocations: 46.25 kB / 0.9618 GB, free: 1.703 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: 9 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0005719/0.76, allocations: 0.8317 MB / 0.9626 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003895/0.7604, allocations: 171.1 kB / 0.9628 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7604, allocations: 5.031 kB / 0.9628 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.7606, allocations: 82.27 kB / 0.9629 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.7609, allocations: 26.33 kB / 0.9629 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.7627, allocations: 1.165 MB / 0.964 GB, free: 4 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.763, allocations: 0.7476 MB / 0.9648 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001398/0.7631, allocations: 27.5 kB / 0.9648 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.7633, allocations: 77.94 kB / 0.9649 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of SimCode: time 2.004e-06/0.7633, allocations: 0 / 0.9649 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01495/0.7782, allocations: 3.823 MB / 0.9686 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003134/0.7786, allocations: 256.3 kB / 0.9689 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.558, allocations: 0 / 0.9689 GB, free: 13.15 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat