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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.005675/0.005675, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001073/0.001073, allocations: 195.7 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.117/2.117, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.89 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6607/0.6626, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.00209/0.6648, allocations: 1.294 MB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009849/0.6658, allocations: 1.072 MB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.6659, allocations: 8.812 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.666, allocations: 29.91 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.398e-05/0.6661, allocations: 41.64 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.6663, allocations: 99.3 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.6666, allocations: 290.1 kB / 1.09 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002381/0.6668, allocations: 166.8 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.667, allocations: 117.8 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.6671, allocations: 124.9 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.281e-05/0.6672, allocations: 34.06 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.439e-05/0.6672, allocations: 31.41 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.754e-05/0.6673, allocations: 57.39 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.763e-05/0.6673, allocations: 129 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.6677, allocations: 396.4 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.6677, allocations: 0 / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6677, allocations: 1.219 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.6677, allocations: 0 / 1.091 GB, free: 2.777 MB / 0.8575 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.000698/0.6684, allocations: 0.5404 MB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.6685, allocations: 9.094 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.994e-05/0.6685, allocations: 56.45 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.6686, allocations: 30.78 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004945/0.6691, allocations: 314.4 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.6691, allocations: 23.19 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/0.6692, allocations: 24.28 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.6696, allocations: 228.8 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.6696, allocations: 0.75 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.6696, allocations: 10.22 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.6697, allocations: 5.969 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.6701, allocations: 176.4 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008214/0.6709, allocations: 0.6764 MB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/0.6713, allocations: 140.3 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.6715, allocations: 77.7 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.6715, allocations: 2.156 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.359e-05/0.6715, allocations: 32.75 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/0.6715, allocations: 3.938 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17): time 0.0005943/0.6721, allocations: 219.7 kB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.955e-05/0.6721, allocations: 58.27 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.6723, allocations: 209.5 kB / 1.094 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.6723, allocations: 31.92 kB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.334e-05/0.6724, allocations: 162.8 kB / 1.094 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.6724, allocations: 41.08 kB / 1.094 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.178e-05/0.6725, allocations: 58.16 kB / 1.094 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.837e-05/0.6726, allocations: 333.9 kB / 1.095 GB, free: 320 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.6728, allocations: 71.47 kB / 1.095 GB, free: 292 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.673, allocations: 118.4 kB / 1.095 GB, free: 204 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.6733, allocations: 172.9 kB / 1.095 GB, free: 88 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6733, allocations: 4 kB / 1.095 GB, free: 84 kB / 0.8575 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004641/0.6738, allocations: 212.4 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.6738, allocations: 11.8 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.6738, allocations: 2.375 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.6738, allocations: 3.109 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.674, allocations: 42.55 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.674, allocations: 4.25 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.6742, allocations: 25.12 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.6742, allocations: 8.109 kB / 1.095 GB, free: 15.97 MB / 0.8731 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 (reaToInt2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.6743, allocations: 149.5 kB / 1.095 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.6744, allocations: 16.34 kB / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/0.6744, allocations: 29.61 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.6744, allocations: 1.25 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6745, allocations: 0.6562 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6745, allocations: 1.125 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.6748, allocations: 299 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.6748, allocations: 0.9688 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.6749, allocations: 30.58 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.6749, allocations: 0.9062 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.675, allocations: 1.734 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.675, allocations: 1.641 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.675, allocations: 5.062 kB / 1.096 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004385/0.6754, allocations: 263.6 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.6755, allocations: 98.83 kB / 1.096 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.6755, allocations: 7.234 kB / 1.096 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.6757, allocations: 9.406 kB / 1.096 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/0.6757, allocations: 35.36 kB / 1.096 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.6758, allocations: 8.531 kB / 1.096 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001118/0.6759, allocations: 140.5 kB / 1.096 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6759, allocations: 0 / 1.096 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002843/0.6762, allocations: 45.94 kB / 1.096 GB, free: 15.12 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007966/0.677, allocations: 0.82 MB / 1.097 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004514/0.6774, allocations: 158.8 kB / 1.097 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6775, allocations: 5.656 kB / 1.097 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.6777, allocations: 77.38 kB / 1.097 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.678, allocations: 31.33 kB / 1.097 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.6805, allocations: 2.157 MB / 1.1 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.6808, allocations: 0.749 MB / 1.1 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001167/0.6809, allocations: 30.34 kB / 1.1 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.6811, allocations: 81.45 kB / 1.1 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.6811, allocations: 1.281 kB / 1.1 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2363/0.9174, allocations: 3.92 MB / 1.104 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.819, allocations: 5.844 kB / 1.104 GB, free: 11.44 MB / 0.8731 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/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) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches