Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.0008222/0.0008223, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008492/0.0008493, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.3 MB / 240 MB, free: 5.352 MB / 190.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.529/2.529, allocations: 390.9 MB / 0.666 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.0003191, allocations: 8 kB / 0.8154 GB, free: 13.59 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7877/0.7881, allocations: 142.4 MB / 0.9545 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.001132/0.7892, allocations: 0.7778 MB / 0.9553 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.7903, allocations: 0.9884 MB / 0.9562 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.7904, allocations: 2.719 kB / 0.9562 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.369e-05/0.7905, allocations: 13.08 kB / 0.9562 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.048e-05/0.7905, allocations: 14.23 kB / 0.9562 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.7907, allocations: 58.75 kB / 0.9563 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.7909, allocations: 191.7 kB / 0.9565 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.7911, allocations: 91.45 kB / 0.9566 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.7912, allocations: 67.92 kB / 0.9566 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.7914, allocations: 61.23 kB / 0.9567 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.7914, allocations: 4.656 kB / 0.9567 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.255e-05/0.7914, allocations: 5.969 kB / 0.9567 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.191e-05/0.7915, allocations: 25.69 kB / 0.9567 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.7915, allocations: 58.64 kB / 0.9568 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.7917, allocations: 217 kB / 0.957 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.7917, allocations: 0 / 0.957 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7917, allocations: 0 / 0.957 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.7918, allocations: 1.25 kB / 0.957 GB, free: 5.773 MB / 0.7169 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.0005908/0.7923, allocations: 460.9 kB / 0.9574 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.7924, allocations: 13.34 kB / 0.9574 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.7925, allocations: 26.39 kB / 0.9575 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.7929, allocations: 283.5 kB / 0.9577 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.7929, allocations: 12.84 kB / 0.9578 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.7929, allocations: 21.34 kB / 0.9578 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.7933, allocations: 190.8 kB / 0.958 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.7933, allocations: 1.531 kB / 0.958 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.7933, allocations: 13.5 kB / 0.958 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.7934, allocations: 4.25 kB / 0.958 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003487/0.7937, allocations: 163.4 kB / 0.9581 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006687/0.7944, allocations: 0.5686 MB / 0.9587 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.7947, allocations: 136.5 kB / 0.9588 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.7948, allocations: 68.52 kB / 0.9589 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.7949, allocations: 1.375 kB / 0.9589 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.388e-05/0.7949, allocations: 35.94 kB / 0.9589 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.7949, allocations: 0 / 0.9589 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0005375/0.7954, allocations: 221 kB / 0.9591 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.7955, allocations: 58.16 kB / 0.9592 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.7956, allocations: 171.9 kB / 0.9593 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.7956, allocations: 29.7 kB / 0.9594 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6e-05/0.7957, allocations: 142.8 kB / 0.9595 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.7957, allocations: 40.55 kB / 0.9595 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.405e-06/0.7957, allocations: 5.312 kB / 0.9596 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.069e-05/0.7958, allocations: 322.8 kB / 0.9599 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.7959, allocations: 68.61 kB / 0.9599 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.7961, allocations: 100.4 kB / 0.96 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.7963, allocations: 58.09 kB / 0.9601 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.7963, allocations: 0 / 0.9601 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004019/0.7967, allocations: 194.3 kB / 0.9603 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.7967, allocations: 6 kB / 0.9603 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.7967, allocations: 1.969 kB / 0.9603 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.7968, allocations: 2.281 kB / 0.9603 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.797, allocations: 41.62 kB / 0.9603 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.797, allocations: 3 kB / 0.9603 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.7971, allocations: 26.23 kB / 0.9603 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.7971, allocations: 5.344 kB / 0.9603 GB, free: 3.043 MB / 0.7169 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 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.7972, allocations: 146.1 kB / 0.9605 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.7973, allocations: 14.81 kB / 0.9605 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.7973, allocations: 20.14 kB / 0.9605 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.7973, allocations: 1.75 kB / 0.9605 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7973, allocations: 0.6875 kB / 0.9605 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.7973, allocations: 0.9688 kB / 0.9605 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.7976, allocations: 269.4 kB / 0.9608 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7976, allocations: 0 / 0.9608 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.7977, allocations: 23.55 kB / 0.9608 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.7977, allocations: 0 / 0.9608 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.7977, allocations: 9.375 kB / 0.9608 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.7977, allocations: 5.375 kB / 0.9608 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7977, allocations: 0 / 0.9608 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.7981, allocations: 271.8 kB / 0.9611 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.7981, allocations: 88.98 kB / 0.9612 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.7981, allocations: 5 kB / 0.9612 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.7983, allocations: 12.11 kB / 0.9612 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.908e-05/0.7983, allocations: 28.23 kB / 0.9612 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.7984, allocations: 3.094 kB / 0.9612 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.101e-05/0.7984, allocations: 123 kB / 0.9613 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7984, allocations: 4 kB / 0.9613 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002658/0.7987, allocations: 39.88 kB / 0.9614 GB, free: 2.145 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001233/0.7988, allocations: 107.5 kB / 0.9615 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003791/0.7992, allocations: 157.6 kB / 0.9616 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7992, allocations: 0 / 0.9616 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.7994, allocations: 78.52 kB / 0.9617 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.7997, allocations: 24.17 kB / 0.9617 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005587/0.8003, allocations: 379.5 kB / 0.9621 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.8005, allocations: 0.7291 MB / 0.9628 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.8006, allocations: 19.86 kB / 0.9628 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.8007, allocations: 20.73 kB / 0.9628 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8007, allocations: 1.031 kB / 0.9628 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of Templates: time 0.004073/0.8047, allocations: 1.247 MB / 0.964 GB, free: 324 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches