Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007861/0.007861, allocations: 99.53 kB / 15.73 MB, free: 6.48 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.001633/0.001633, allocations: 189 kB / 16.67 MB, free: 6.367 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.551/1.551, allocations: 222.9 MB / 240.4 MB, free: 4.32 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 3.067/3.067, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 63.91 kB / 1.019 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3709, allocations: 151.6 MB / 1.167 GB, free: 6.941 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.003226/0.3741, allocations: 1.122 MB / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.3761, allocations: 1.018 MB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.3763, allocations: 4 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.3764, allocations: 19.73 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.3767, allocations: 19.69 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.3771, allocations: 83.91 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.3774, allocations: 220.2 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003346/0.3778, allocations: 120.2 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.378, allocations: 87.58 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.3782, allocations: 99.53 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.074e-05/0.3782, allocations: 24 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.278e-05/0.3783, allocations: 24 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.079e-05/0.3783, allocations: 47.84 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.3785, allocations: 95.47 kB / 1.17 GB, free: 3.945 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.3789, allocations: 286.7 kB / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3789, allocations: 0 / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3789, allocations: 4 kB / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.653e-05/0.379, allocations: 3.984 kB / 1.17 GB, free: 3.656 MB / 0.92 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.0009602/0.3799, allocations: 498.9 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.38, allocations: 16.02 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.841e-05/0.3801, allocations: 24.73 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.3806, allocations: 277.8 kB / 1.171 GB, free: 2.773 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.3806, allocations: 20.81 kB / 1.171 GB, free: 2.754 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.3807, allocations: 16.38 kB / 1.171 GB, free: 2.738 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004494/0.3811, allocations: 191.8 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.3811, allocations: 3.938 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.3812, allocations: 4 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.3812, allocations: 4 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.3816, allocations: 153.6 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009689/0.3826, allocations: 0.5649 MB / 1.172 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.3829, allocations: 122.2 kB / 1.172 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.3831, allocations: 68.81 kB / 1.172 GB, free: 1.566 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.3832, allocations: 4 kB / 1.172 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.3832, allocations: 30.56 kB / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.3832, allocations: 0 / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.0006474/0.3838, allocations: 203.5 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.3839, allocations: 63.34 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.3841, allocations: 183.7 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.3841, allocations: 29.7 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3843, allocations: 152.4 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.3843, allocations: 43.62 kB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.955e-05/0.3844, allocations: 49.66 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3846, allocations: 326.8 kB / 1.173 GB, free: 452 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.3847, allocations: 55.95 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.3849, allocations: 91.17 kB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.3853, allocations: 139.6 kB / 1.173 GB, free: 132 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3853, allocations: 0 / 1.173 GB, free: 132 kB / 0.92 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004402/0.3857, allocations: 189.4 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3857, allocations: 8 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3858, allocations: 0 / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3858, allocations: 7.984 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.386, allocations: 27.92 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.386, allocations: 4 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.3861, allocations: 19.94 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.3861, allocations: 4 kB / 1.173 GB, free: 15.86 MB / 0.9356 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.0001398/0.3863, allocations: 146.8 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.3863, allocations: 23.88 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.3864, allocations: 17.53 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.3864, allocations: 3.938 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3864, allocations: 0 / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.3864, allocations: 4 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.3867, allocations: 265.5 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.3867, allocations: 0 / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.3869, allocations: 31.86 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3869, allocations: 0 / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.3869, allocations: 7.984 kB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3869, allocations: 3.938 kB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3869, allocations: 0 / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.3873, allocations: 251.3 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.3874, allocations: 92.95 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.3874, allocations: 0 / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.3876, allocations: 19.92 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.629e-05/0.3877, allocations: 19.97 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3877, allocations: 4 kB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001099/0.3878, allocations: 119.2 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3878, allocations: 0 / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002852/0.3881, allocations: 35.89 kB / 1.174 GB, free: 14.75 MB / 0.9356 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.0001526/0.3883, allocations: 111.2 kB / 1.174 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004295/0.3887, allocations: 141.1 kB / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3887, allocations: 3.938 kB / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.3889, allocations: 76.2 kB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.3893, allocations: 15.94 kB / 1.175 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007179/0.39, allocations: 339.2 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.3903, allocations: 0.728 MB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000118/0.3905, allocations: 21.55 kB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/0.3905, allocations: 19.42 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of SimCode: time 6.61e-07/0.3905, allocations: 4 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of Templates: time 0.004763/0.3953, allocations: 1.443 MB / 1.177 GB, free: 11.86 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches