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.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.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.01027/0.01027, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001693/0.001694, allocations: 186.9 kB / 16.67 MB, free: 5.969 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.523/1.523, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.445/2.445, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 62.53 kB / 0.9509 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4128, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002517/0.4154, allocations: 1.124 MB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.4168, allocations: 1.006 MB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.4169, allocations: 4 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.643e-05/0.417, allocations: 23.73 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.4172, allocations: 27.66 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.4174, allocations: 75.92 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.4177, allocations: 220.2 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/0.418, allocations: 120.2 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.4181, allocations: 95.56 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.4183, allocations: 99.47 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.111e-05/0.4183, allocations: 24 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.097e-05/0.4184, allocations: 24 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.695e-05/0.4184, allocations: 47.84 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.4185, allocations: 99.45 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.4188, allocations: 282.9 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4189, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4189, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.4189, allocations: 4 kB / 1.091 GB, free: 14.25 MB / 0.8575 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.0007585/0.4197, allocations: 491.1 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.4197, allocations: 12.03 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.243e-05/0.4198, allocations: 20.66 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/0.4202, allocations: 276.3 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.4203, allocations: 16.75 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.4203, allocations: 28.38 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004012/0.4207, allocations: 191.2 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4207, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.4208, allocations: 8 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.4208, allocations: 8 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000372/0.4212, allocations: 141.7 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007958/0.422, allocations: 0.5686 MB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.4223, allocations: 130.5 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.4225, allocations: 64.83 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.4225, allocations: 8.062 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.4225, allocations: 30.56 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.4225, allocations: 3.938 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0005919/0.4231, allocations: 209.2 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.4232, allocations: 55.41 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.4234, allocations: 191.7 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.4234, allocations: 25.7 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.802e-05/0.4235, allocations: 132.2 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.4235, allocations: 39.45 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.473e-05/0.4236, allocations: 53.69 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4238, allocations: 322.8 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.4239, allocations: 51.91 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.4241, allocations: 97.11 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.4244, allocations: 139.2 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4244, allocations: 0 / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003996/0.4248, allocations: 181.4 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.4249, allocations: 12.03 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.4249, allocations: 7.875 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.4249, allocations: 4 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.4251, allocations: 31.97 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.4251, allocations: 4 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.4252, allocations: 15.84 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.4252, allocations: 11.98 kB / 1.095 GB, free: 10.47 MB / 0.8575 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.0001268/0.4254, allocations: 144.3 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.4254, allocations: 15.81 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/0.4255, allocations: 21.47 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4255, allocations: 0 / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4255, allocations: 0 / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.4255, allocations: 3.984 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.4258, allocations: 265.5 kB / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4258, allocations: 0 / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.4259, allocations: 27.91 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4259, allocations: 4 kB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.4259, allocations: 7.938 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4259, allocations: 0 / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4259, allocations: 0 / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003958/0.4263, allocations: 250.3 kB / 1.095 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.4264, allocations: 88.92 kB / 1.095 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.4264, allocations: 19.92 kB / 1.095 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.4266, allocations: 8 kB / 1.095 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/0.4266, allocations: 27.95 kB / 1.095 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.4266, allocations: 0 / 1.095 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.353e-05/0.4267, allocations: 119.2 kB / 1.096 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4267, allocations: 0 / 1.096 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002647/0.427, allocations: 39.78 kB / 1.096 GB, free: 9.363 MB / 0.8575 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.0001298/0.4271, allocations: 120.4 kB / 1.096 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004056/0.4276, allocations: 135.8 kB / 1.096 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4276, allocations: 3.938 kB / 1.096 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.4278, allocations: 75.89 kB / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.4281, allocations: 20.25 kB / 1.096 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000648/0.4287, allocations: 326.2 kB / 1.096 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.4291, allocations: 0.7357 MB / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.578e-05/0.4292, allocations: 21.53 kB / 1.097 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.4292, allocations: 23.44 kB / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of SimCode: time 3.81e-07/0.4292, allocations: 0 / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of Templates: time 0.004415/0.4337, allocations: 1.477 MB / 1.098 GB, free: 6.43 MB / 0.8575 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