Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001013/0.001013, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008912/0.008912, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.435/1.435, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.000375, allocations: 8 kB / 0.8729 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7317/0.7321, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.001471/0.7336, allocations: 0.964 MB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.7349, allocations: 1.065 MB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.735, allocations: 4 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.7351, allocations: 23.78 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.627e-05/0.7352, allocations: 15.81 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.7355, allocations: 87.92 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.7357, allocations: 268.4 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.736, allocations: 160.8 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.7361, allocations: 79.56 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.7363, allocations: 87.38 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.7363, allocations: 8 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.105e-05/0.7363, allocations: 4 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.846e-05/0.7364, allocations: 35.78 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.31e-05/0.7365, allocations: 121 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.7368, allocations: 352.6 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.7368, allocations: 0 / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7368, allocations: 0 / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.7368, allocations: 0 / 1.026 GB, free: 12.53 MB / 0.7794 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.0007487/0.7376, allocations: 0.5086 MB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.7376, allocations: 12.03 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/0.7377, allocations: 24.66 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005237/0.7382, allocations: 328.9 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.7383, allocations: 28.88 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.7383, allocations: 24.38 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/0.7388, allocations: 225.4 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.7388, allocations: 192 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.7388, allocations: 11.94 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.7388, allocations: 8 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000462/0.7393, allocations: 194.1 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.7404, allocations: 0.6702 MB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004433/0.7409, allocations: 154.5 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.7411, allocations: 81 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.7411, allocations: 4 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.7412, allocations: 30.56 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.7412, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.0007036/0.7419, allocations: 242.4 kB / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.7419, allocations: 51.41 kB / 1.029 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.7422, allocations: 208.7 kB / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.7422, allocations: 29.7 kB / 1.029 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.7424, allocations: 160 kB / 1.029 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.7424, allocations: 51.45 kB / 1.029 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.7425, allocations: 45.62 kB / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.7427, allocations: 326.8 kB / 1.03 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.7429, allocations: 71.95 kB / 1.03 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.7431, allocations: 128.3 kB / 1.03 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/0.7435, allocations: 175.9 kB / 1.03 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.7435, allocations: 7.984 kB / 1.03 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004769/0.744, allocations: 231.5 kB / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.7441, allocations: 8 kB / 1.03 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.7441, allocations: 0 / 1.03 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.7441, allocations: 4 kB / 1.03 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.7443, allocations: 47.91 kB / 1.03 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.7443, allocations: 0 / 1.03 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.7444, allocations: 27.83 kB / 1.03 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.7445, allocations: 12.06 kB / 1.03 GB, free: 8.184 MB / 0.7794 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.0001683/0.7446, allocations: 150.2 kB / 1.03 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.7447, allocations: 19.75 kB / 1.03 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.115e-05/0.7448, allocations: 25.86 kB / 1.03 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.7448, allocations: 4 kB / 1.03 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.7448, allocations: 0 / 1.03 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.7448, allocations: 0 / 1.03 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/0.7451, allocations: 309.3 kB / 1.031 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.7451, allocations: 4 kB / 1.031 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.7453, allocations: 27.92 kB / 1.031 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7453, allocations: 3.938 kB / 1.031 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.7453, allocations: 0 / 1.031 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.7453, allocations: 4 kB / 1.031 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.7453, allocations: 0 / 1.031 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.7457, allocations: 279.1 kB / 1.031 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.7458, allocations: 100.8 kB / 1.031 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.7458, allocations: 4 kB / 1.031 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.746, allocations: 19.98 kB / 1.031 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-05/0.7461, allocations: 27.95 kB / 1.031 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.7461, allocations: 8 kB / 1.031 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001054/0.7462, allocations: 140.5 kB / 1.031 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7462, allocations: 0 / 1.031 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000282/0.7465, allocations: 43.75 kB / 1.031 GB, free: 6.949 MB / 0.7794 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.0001364/0.7466, allocations: 110.2 kB / 1.031 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004395/0.7471, allocations: 177.5 kB / 1.032 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7471, allocations: 448 / 1.032 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.7473, allocations: 91.8 kB / 1.032 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.7477, allocations: 33.88 kB / 1.032 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007457/0.7484, allocations: 481.5 kB / 1.032 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.7487, allocations: 0.7448 MB / 1.033 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000134/0.7489, allocations: 29.94 kB / 1.033 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.7489, allocations: 19.44 kB / 1.033 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7489, allocations: 0 / 1.033 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of Templates: time 0.004897/0.7538, allocations: 1.725 MB / 1.035 GB, free: 3.559 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches