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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 104.3 kB / 16.27 MB, free: 6.414 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.001957/0.001957, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.34/2.34, allocations: 390.2 MB / 0.6653 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 68.88 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.281, allocations: 140.4 MB / 0.9503 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.00314/0.2842, allocations: 1.278 MB / 0.9516 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.2861, allocations: 1.076 MB / 0.9526 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003151/0.2865, allocations: 8 kB / 0.9526 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.2868, allocations: 31.59 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.287, allocations: 35.61 kB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004133/0.2874, allocations: 107.8 kB / 0.9528 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004085/0.2878, allocations: 288.4 kB / 0.9531 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003564/0.2882, allocations: 168.8 kB / 0.9532 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002265/0.2884, allocations: 111.6 kB / 0.9533 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.2886, allocations: 123.4 kB / 0.9535 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.283e-05/0.2887, allocations: 32 kB / 0.9535 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.957e-05/0.2888, allocations: 32 kB / 0.9535 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.47e-05/0.2888, allocations: 63.77 kB / 0.9536 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.289, allocations: 123.3 kB / 0.9537 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004708/0.2895, allocations: 387 kB / 0.9541 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2895, allocations: 0 / 0.9541 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.826e-06/0.2895, allocations: 3.938 kB / 0.9541 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.552e-05/0.2895, allocations: 0 / 0.9541 GB, free: 4.957 MB / 0.7325 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.00119/0.2907, allocations: 0.538 MB / 0.9546 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.2908, allocations: 8.031 kB / 0.9546 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.2909, allocations: 36.55 kB / 0.9546 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006671/0.2916, allocations: 317 kB / 0.9549 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.2916, allocations: 24.92 kB / 0.955 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.2917, allocations: 24.38 kB / 0.955 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/0.2922, allocations: 232.9 kB / 0.9552 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.2922, allocations: 0 / 0.9552 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.2922, allocations: 4 kB / 0.9552 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.2923, allocations: 8 kB / 0.9552 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004792/0.2927, allocations: 178.1 kB / 0.9554 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.2939, allocations: 0.6702 MB / 0.9561 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004634/0.2944, allocations: 145.1 kB / 0.9562 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.2946, allocations: 73 kB / 0.9563 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.2946, allocations: 3.906 kB / 0.9563 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.2947, allocations: 34.56 kB / 0.9563 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 2.865e-06/0.2947, allocations: 0 / 0.9563 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0006557/0.2953, allocations: 223.8 kB / 0.9565 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.2954, allocations: 59.39 kB / 0.9566 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.2956, allocations: 203.7 kB / 0.9568 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.2957, allocations: 29.7 kB / 0.9568 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.2958, allocations: 172 kB / 0.957 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.2958, allocations: 43.36 kB / 0.957 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.589e-05/0.2959, allocations: 53.69 kB / 0.957 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.2961, allocations: 342.8 kB / 0.9574 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.2963, allocations: 59.95 kB / 0.9574 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.2965, allocations: 122.8 kB / 0.9575 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.2969, allocations: 165.2 kB / 0.9577 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.2969, allocations: 0 / 0.9577 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005221/0.2974, allocations: 213.1 kB / 0.9579 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.2975, allocations: 8 kB / 0.9579 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.2975, allocations: 224 / 0.9579 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.2975, allocations: 8 kB / 0.9579 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.2977, allocations: 43.91 kB / 0.958 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.2977, allocations: 4 kB / 0.958 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.2979, allocations: 27.67 kB / 0.958 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.2979, allocations: 12 kB / 0.958 GB, free: 0.6562 MB / 0.7325 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.0002233/0.2981, allocations: 145.7 kB / 0.9581 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-05/0.2982, allocations: 19.81 kB / 0.9582 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.204e-05/0.2983, allocations: 25.86 kB / 0.9582 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.2983, allocations: 3.938 kB / 0.9582 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.2983, allocations: 0 / 0.9582 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2983, allocations: 4 kB / 0.9582 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.2987, allocations: 313.2 kB / 0.9585 GB, free: 100 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.2987, allocations: 4 kB / 0.9585 GB, free: 96 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.2989, allocations: 23.92 kB / 0.9585 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.2989, allocations: 0 / 0.9585 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.2989, allocations: 3.984 kB / 0.9585 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.2989, allocations: 8 kB / 0.9585 GB, free: 60 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2989, allocations: 0 / 0.9585 GB, free: 60 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004967/0.2994, allocations: 262 kB / 0.9588 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.626e-05/0.2995, allocations: 92.92 kB / 0.9589 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.2995, allocations: 7.984 kB / 0.9589 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.2997, allocations: 15.98 kB / 0.9589 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.2998, allocations: 27.97 kB / 0.9589 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.2998, allocations: 4 kB / 0.9589 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001298/0.3, allocations: 137.5 kB / 0.9591 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3, allocations: 0 / 0.9591 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003045/0.3003, allocations: 43.84 kB / 0.9591 GB, free: 15.45 MB / 0.7481 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.000159/0.3005, allocations: 116.2 kB / 0.9592 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004924/0.301, allocations: 171.7 kB / 0.9594 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.301, allocations: 0 / 0.9594 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.3012, allocations: 75.89 kB / 0.9594 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.3015, allocations: 40.08 kB / 0.9595 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009412/0.3025, allocations: 407.8 kB / 0.9599 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.3029, allocations: 0.7522 MB / 0.9606 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.612e-05/0.303, allocations: 31.42 kB / 0.9606 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.303, allocations: 0 / 0.9606 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of Templates: time 0.00583/0.3088, allocations: 2.646 MB / 0.9632 GB, free: 11.17 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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