Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 103.7 kB / 16.35 MB, free: 5.875 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.002095/0.002095, allocations: 191 kB / 17.29 MB, free: 5.516 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.363/2.363, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 67.56 kB / 0.8141 GB, free: 32.56 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3538, allocations: 140.4 MB / 0.9512 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.00275/0.3566, allocations: 1.118 MB / 0.9523 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.3579, allocations: 1.018 MB / 0.9533 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.3581, allocations: 4 kB / 0.9533 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.413e-05/0.3581, allocations: 19.73 kB / 0.9533 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.3583, allocations: 23.67 kB / 0.9533 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.3586, allocations: 79.86 kB / 0.9534 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.3588, allocations: 216.2 kB / 0.9536 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.359, allocations: 124.2 kB / 0.9537 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.3592, allocations: 91.56 kB / 0.9538 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.3594, allocations: 95.55 kB / 0.9539 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.028e-05/0.3594, allocations: 24 kB / 0.9539 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.274e-05/0.3594, allocations: 24 kB / 0.9539 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.3595, allocations: 47.83 kB / 0.954 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.3596, allocations: 103.4 kB / 0.9541 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.3599, allocations: 282.9 kB / 0.9543 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3599, allocations: 0 / 0.9543 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.276e-06/0.3599, allocations: 4 kB / 0.9543 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.36, allocations: 4 kB / 0.9544 GB, free: 4.734 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007445/0.3607, allocations: 487.1 kB / 0.9548 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3608, allocations: 12.03 kB / 0.9548 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.3608, allocations: 24.64 kB / 0.9548 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004761/0.3613, allocations: 277.8 kB / 0.9551 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.3613, allocations: 20.81 kB / 0.9551 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.3614, allocations: 20.38 kB / 0.9552 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/0.3617, allocations: 187.2 kB / 0.9553 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3618, allocations: 0 / 0.9553 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.3618, allocations: 8 kB / 0.9553 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.3618, allocations: 8 kB / 0.9553 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003819/0.3622, allocations: 153.6 kB / 0.9555 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008299/0.363, allocations: 0.5608 MB / 0.956 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.3634, allocations: 126.6 kB / 0.9562 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.3635, allocations: 68.81 kB / 0.9562 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.3636, allocations: 0 / 0.9562 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.3636, allocations: 34.56 kB / 0.9563 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.3636, allocations: 0 / 0.9563 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0005649/0.3642, allocations: 207.8 kB / 0.9565 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3642, allocations: 59.41 kB / 0.9565 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.3644, allocations: 171.8 kB / 0.9567 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.3644, allocations: 29.7 kB / 0.9567 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.3645, allocations: 144.1 kB / 0.9568 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.3646, allocations: 39.47 kB / 0.9569 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.222e-05/0.3647, allocations: 53.69 kB / 0.9569 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.3648, allocations: 326.8 kB / 0.9572 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.3649, allocations: 55.95 kB / 0.9573 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.3651, allocations: 94.97 kB / 0.9574 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.3654, allocations: 147.7 kB / 0.9575 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3654, allocations: 0 / 0.9575 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003762/0.3658, allocations: 185.3 kB / 0.9577 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3658, allocations: 8 kB / 0.9577 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3658, allocations: 3.938 kB / 0.9577 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.3659, allocations: 4 kB / 0.9577 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.3661, allocations: 27.97 kB / 0.9577 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.3661, allocations: 4 kB / 0.9578 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.3662, allocations: 27.77 kB / 0.9578 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.3662, allocations: 4 kB / 0.9578 GB, free: 0.957 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (20): * Single equations (assignments): 20 * 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.0001161/0.3663, allocations: 134.5 kB / 0.9579 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.3664, allocations: 23.75 kB / 0.9579 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.3664, allocations: 25.45 kB / 0.958 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3664, allocations: 0 / 0.958 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3664, allocations: 0 / 0.958 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3664, allocations: 4 kB / 0.958 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.3667, allocations: 261.5 kB / 0.9582 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3667, allocations: 0 / 0.9582 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.3669, allocations: 27.92 kB / 0.9582 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3669, allocations: 0 / 0.9582 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.3669, allocations: 3.938 kB / 0.9582 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3669, allocations: 3.984 kB / 0.9582 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3669, allocations: 0 / 0.9582 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.3673, allocations: 259.2 kB / 0.9585 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-05/0.3673, allocations: 88.92 kB / 0.9586 GB, free: 52 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.3674, allocations: 3.938 kB / 0.9586 GB, free: 48 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.3675, allocations: 15.98 kB / 0.9586 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/0.3676, allocations: 19.97 kB / 0.9586 GB, free: 12 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.3676, allocations: 4 kB / 0.9586 GB, free: 8 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001111/0.3677, allocations: 124.2 kB / 0.9587 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3677, allocations: 0 / 0.9587 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003023/0.368, allocations: 35.84 kB / 0.9588 GB, free: 15.85 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: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001593/0.3682, allocations: 115.2 kB / 0.9589 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004084/0.3686, allocations: 142.5 kB / 0.959 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3686, allocations: 0 / 0.959 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.3688, allocations: 72.22 kB / 0.9591 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.3691, allocations: 23.92 kB / 0.9591 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006197/0.3698, allocations: 332.9 kB / 0.9594 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.3701, allocations: 0.7319 MB / 0.9601 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.768e-05/0.3702, allocations: 21.53 kB / 0.9602 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.3702, allocations: 23.42 kB / 0.9602 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of SimCode: time 2.01e-07/0.3702, allocations: 0 / 0.9602 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of Templates: time 0.00446/0.3747, allocations: 1.42 MB / 0.9616 GB, free: 12.98 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches