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.00138/0.001386, allocations: 105.8 kB / 15.99 MB, free: 5.914 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.001475/0.001475, allocations: 192 kB / 16.91 MB, free: 5.758 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.388/1.388, allocations: 222.9 MB / 240.6 MB, free: 13.64 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.337/2.337, allocations: 390.2 MB / 0.665 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 65.45 kB / 0.8127 GB, free: 32.43 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2907, allocations: 140.4 MB / 0.9498 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.00309/0.2939, allocations: 1.333 MB / 0.9511 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001785/0.2957, allocations: 1.057 MB / 0.9522 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003913/0.2961, allocations: 8 kB / 0.9522 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.2964, allocations: 27.72 kB / 0.9522 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.2966, allocations: 11.88 kB / 0.9522 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.297, allocations: 95.86 kB / 0.9523 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004329/0.2975, allocations: 288.4 kB / 0.9526 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003786/0.2979, allocations: 176.8 kB / 0.9527 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.2982, allocations: 115.6 kB / 0.9528 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.2984, allocations: 115.4 kB / 0.953 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.567e-05/0.2985, allocations: 32 kB / 0.953 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.355e-05/0.2985, allocations: 32 kB / 0.953 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.258e-05/0.2986, allocations: 59.78 kB / 0.9531 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.2987, allocations: 131.3 kB / 0.9532 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003692/0.2991, allocations: 311.5 kB / 0.9535 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2991, allocations: 0 / 0.9535 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.461e-06/0.2991, allocations: 0 / 0.9535 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.2992, allocations: 3.938 kB / 0.9535 GB, free: 5.375 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.001033/0.3002, allocations: 0.5419 MB / 0.954 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.3003, allocations: 8.031 kB / 0.954 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.925e-05/0.3003, allocations: 32.56 kB / 0.9541 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006652/0.301, allocations: 317.1 kB / 0.9544 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.3011, allocations: 24.88 kB / 0.9544 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.3011, allocations: 20.38 kB / 0.9544 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005082/0.3016, allocations: 232.9 kB / 0.9546 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3016, allocations: 0 / 0.9546 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.3017, allocations: 8 kB / 0.9546 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.3017, allocations: 8 kB / 0.9547 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004309/0.3021, allocations: 178.1 kB / 0.9548 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.3033, allocations: 0.6663 MB / 0.9555 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.3037, allocations: 142.5 kB / 0.9556 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.3039, allocations: 77 kB / 0.9557 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.304, allocations: 11.97 kB / 0.9557 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.304, allocations: 30.56 kB / 0.9557 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.304, allocations: 0 / 0.9557 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0006361/0.3047, allocations: 225.2 kB / 0.9559 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.3047, allocations: 59.34 kB / 0.956 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.3049, allocations: 203.7 kB / 0.9562 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.305, allocations: 29.7 kB / 0.9562 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.3051, allocations: 164 kB / 0.9564 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.3051, allocations: 43.34 kB / 0.9564 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-05/0.3052, allocations: 61.69 kB / 0.9565 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3054, allocations: 342.8 kB / 0.9568 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.3056, allocations: 55.97 kB / 0.9569 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.3058, allocations: 116.8 kB / 0.957 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.3061, allocations: 173.2 kB / 0.9571 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3062, allocations: 0 / 0.9571 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004669/0.3066, allocations: 213.1 kB / 0.9573 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.3067, allocations: 8 kB / 0.9573 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.3067, allocations: 224 / 0.9573 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.3067, allocations: 11.94 kB / 0.9574 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.3069, allocations: 39.91 kB / 0.9574 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.3069, allocations: 4 kB / 0.9574 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.3071, allocations: 31.67 kB / 0.9574 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.3071, allocations: 8 kB / 0.9574 GB, free: 1.07 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.0002063/0.3073, allocations: 149.7 kB / 0.9576 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.3074, allocations: 23.8 kB / 0.9576 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.401e-05/0.3074, allocations: 25.86 kB / 0.9576 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3074, allocations: 0 / 0.9576 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3075, allocations: 4 kB / 0.9576 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3075, allocations: 0 / 0.9576 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.3078, allocations: 297.4 kB / 0.9579 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3078, allocations: 0 / 0.9579 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.308, allocations: 19.98 kB / 0.9579 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.308, allocations: 3.938 kB / 0.9579 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.308, allocations: 7.984 kB / 0.9579 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.308, allocations: 15.94 kB / 0.958 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.308, allocations: 0 / 0.958 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.3085, allocations: 262.4 kB / 0.9582 GB, free: 212 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.761e-05/0.3086, allocations: 100.8 kB / 0.9583 GB, free: 92 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.3086, allocations: 4 kB / 0.9583 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.3087, allocations: 15.98 kB / 0.9583 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.3089, allocations: 23.97 kB / 0.9583 GB, free: 48 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.3089, allocations: 8 kB / 0.9584 GB, free: 40 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001413/0.309, allocations: 137.6 kB / 0.9585 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.309, allocations: 0 / 0.9585 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003118/0.3093, allocations: 43.84 kB / 0.9585 GB, free: 15.86 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.0001708/0.3095, allocations: 112.2 kB / 0.9586 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004751/0.31, allocations: 167.7 kB / 0.9588 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.31, allocations: 0 / 0.9588 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.3102, allocations: 75.89 kB / 0.9589 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.3106, allocations: 40.14 kB / 0.9589 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008972/0.3115, allocations: 497.3 kB / 0.9594 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.3118, allocations: 0.7444 MB / 0.9601 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.88e-05/0.3119, allocations: 31.42 kB / 0.9601 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of SimCode: time 2.184e-06/0.3119, allocations: 0 / 0.9601 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of Templates: time 0.005433/0.3174, allocations: 2.66 MB / 0.9627 GB, free: 11.5 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