Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001857/0.001857, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002818/0.002818, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.638/1.638, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.186/3.186, allocations: 472.6 MB / 0.7451 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.5 kB / 0.9121 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4276, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.003362/0.4311, allocations: 1.14 MB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.4326, allocations: 1.014 MB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.4327, allocations: 4 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.616e-05/0.4328, allocations: 23.72 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.4329, allocations: 31.67 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.4332, allocations: 83.86 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.4334, allocations: 232.1 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.4337, allocations: 132.1 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.4339, allocations: 91.64 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.434, allocations: 95.53 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.03e-05/0.4341, allocations: 28 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.836e-05/0.4342, allocations: 24 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.713e-05/0.4342, allocations: 55.77 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.566e-05/0.4343, allocations: 99.47 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.4346, allocations: 303.2 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4346, allocations: 3.938 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4346, allocations: 0 / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.4347, allocations: 0 / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007276/0.4354, allocations: 495.1 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.4354, allocations: 12.03 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.4355, allocations: 24.66 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000476/0.436, allocations: 282.9 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.436, allocations: 20.75 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.4361, allocations: 16.38 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.4365, allocations: 199.8 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4365, allocations: 192 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.4365, allocations: 7.938 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.4365, allocations: 8 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000393/0.4369, allocations: 165.6 kB / 1.073 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008593/0.4378, allocations: 0.5956 MB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.4382, allocations: 158.7 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.4384, allocations: 64.83 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.4384, allocations: 4 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.4385, allocations: 42.5 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.4385, allocations: 0 / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0006406/0.4391, allocations: 218.3 kB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.4392, allocations: 51.41 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.4393, allocations: 187.2 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.4394, allocations: 29.7 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.014e-05/0.4395, allocations: 136.1 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.4395, allocations: 51.45 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.407e-05/0.4396, allocations: 53.69 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4397, allocations: 322.8 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.4399, allocations: 55.95 kB / 1.075 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.4401, allocations: 108.6 kB / 1.075 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.4404, allocations: 146.2 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4405, allocations: 0 / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000431/0.4409, allocations: 203.2 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4409, allocations: 4 kB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.4409, allocations: 0 / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.441, allocations: 4 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.4412, allocations: 39.91 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4412, allocations: 0 / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.4413, allocations: 15.84 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.4413, allocations: 19.92 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.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 (22): * Single equations (assignments): 22 * 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.0002076/0.4415, allocations: 141.9 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.4416, allocations: 19.75 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.4416, allocations: 17.88 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.4416, allocations: 0 / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.4417, allocations: 0 / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4417, allocations: 3.984 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.442, allocations: 277.4 kB / 1.076 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.442, allocations: 0 / 1.076 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.4421, allocations: 23.98 kB / 1.076 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.4422, allocations: 4 kB / 1.076 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.4422, allocations: 4 kB / 1.076 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4422, allocations: 0 / 1.076 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4422, allocations: 3.984 kB / 1.076 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004146/0.4426, allocations: 264.6 kB / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.979e-05/0.4427, allocations: 92.95 kB / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.4427, allocations: 7.938 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.4428, allocations: 11.98 kB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.703e-05/0.4429, allocations: 23.88 kB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.4429, allocations: 4 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.982e-05/0.443, allocations: 119.2 kB / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.443, allocations: 0 / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002775/0.4433, allocations: 39.84 kB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * 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.0002375/0.4436, allocations: 115.7 kB / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005655/0.4441, allocations: 155.8 kB / 1.076 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4442, allocations: 0 / 1.076 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.4443, allocations: 76.2 kB / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.4447, allocations: 29.98 kB / 1.076 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009776/0.4457, allocations: 348.9 kB / 1.077 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.4461, allocations: 0.7319 MB / 1.077 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.4462, allocations: 21.53 kB / 1.078 GB, free: 488 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.781e-05/0.4462, allocations: 19.44 kB / 1.078 GB, free: 468 kB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.4462, allocations: 0 / 1.078 GB, free: 468 kB / 0.8262 GB Notification: Performance of Templates: time 0.005418/0.4517, allocations: 1.477 MB / 1.079 GB, free: 15.04 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches