Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DualDuctColdDuctMin.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_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 105.2 kB / 15.98 MB, free: 6.352 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.001234/0.001234, allocations: 199.1 kB / 16.91 MB, free: 6.188 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.432/1.432, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.643/2.643, allocations: 469.8 MB / 0.7427 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 65.8 kB / 0.9088 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4012, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002959/0.4042, allocations: 1.349 MB / 1.066 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.4057, allocations: 1.076 MB / 1.067 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.4058, allocations: 11.94 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.406, allocations: 15.8 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.984e-05/0.4061, allocations: 23.8 kB / 1.067 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.4064, allocations: 91.92 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.4067, allocations: 296.4 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002984/0.407, allocations: 176.8 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.4072, allocations: 119.5 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.4074, allocations: 131.3 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.59e-05/0.4074, allocations: 32 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.978e-05/0.4075, allocations: 32 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.47e-05/0.4075, allocations: 71.72 kB / 1.068 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.4077, allocations: 131.3 kB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.408, allocations: 327.4 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.408, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.503e-06/0.408, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.408, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009096/0.409, allocations: 0.5475 MB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.409, allocations: 8.031 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.4091, allocations: 28.66 kB / 1.069 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005331/0.4096, allocations: 324.9 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.4097, allocations: 20.94 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.4097, allocations: 24.38 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/0.4102, allocations: 237.4 kB / 1.069 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.4102, allocations: 192 / 1.069 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.4103, allocations: 19.88 kB / 1.069 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.4103, allocations: 8 kB / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004421/0.4107, allocations: 186.1 kB / 1.069 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.4118, allocations: 0.6939 MB / 1.07 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004534/0.4123, allocations: 178.5 kB / 1.07 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.4125, allocations: 73 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/0.4125, allocations: 8.062 kB / 1.07 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.4126, allocations: 38.56 kB / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=19): time 1.303e-06/0.4126, allocations: 0 / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of matching and sorting (n=19): time 0.0006457/0.4132, allocations: 235.3 kB / 1.07 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.4133, allocations: 59.34 kB / 1.071 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.4135, allocations: 215.6 kB / 1.071 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.4135, allocations: 29.7 kB / 1.071 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.4137, allocations: 164.3 kB / 1.071 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.4137, allocations: 55.28 kB / 1.071 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.655e-05/0.4138, allocations: 57.92 kB / 1.071 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.414, allocations: 330.8 kB / 1.071 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.4142, allocations: 64.42 kB / 1.071 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.4144, allocations: 127.7 kB / 1.072 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.4148, allocations: 178.6 kB / 1.072 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4148, allocations: 0 / 1.072 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004559/0.4152, allocations: 223 kB / 1.072 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.4153, allocations: 8 kB / 1.072 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.4153, allocations: 4.219 kB / 1.072 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.4153, allocations: 4 kB / 1.072 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.4155, allocations: 43.91 kB / 1.072 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.4155, allocations: 7.938 kB / 1.072 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.4156, allocations: 23.83 kB / 1.072 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.4157, allocations: 8 kB / 1.072 GB, free: 6.766 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.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 (27): * Single equations (assignments): 27 * 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.0002101/0.4159, allocations: 163 kB / 1.072 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.4159, allocations: 19.72 kB / 1.072 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.512e-05/0.416, allocations: 21.88 kB / 1.072 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.416, allocations: 4 kB / 1.072 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.416, allocations: 0 / 1.072 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.416, allocations: 3.984 kB / 1.072 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.4164, allocations: 305.4 kB / 1.073 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4164, allocations: 0 / 1.073 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.4165, allocations: 19.98 kB / 1.073 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.4165, allocations: 4 kB / 1.073 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.4166, allocations: 8 kB / 1.073 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4166, allocations: 0 / 1.073 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4166, allocations: 3.984 kB / 1.073 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004428/0.417, allocations: 280.8 kB / 1.073 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.4171, allocations: 96.84 kB / 1.073 GB, free: 5.766 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.4171, allocations: 8 kB / 1.073 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.4173, allocations: 15.92 kB / 1.073 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/0.4174, allocations: 27.97 kB / 1.073 GB, free: 5.715 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.4174, allocations: 4 kB / 1.073 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000116/0.4175, allocations: 145.5 kB / 1.073 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4175, allocations: 0 / 1.073 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000288/0.4178, allocations: 47.75 kB / 1.073 GB, free: 5.523 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001612/0.418, allocations: 119.2 kB / 1.073 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004675/0.4185, allocations: 175.7 kB / 1.073 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4185, allocations: 0 / 1.073 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.4187, allocations: 90.39 kB / 1.074 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.419, allocations: 30.12 kB / 1.074 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008266/0.4198, allocations: 0.5038 MB / 1.074 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.4202, allocations: 0.7487 MB / 1.075 GB, free: 3.797 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.721e-05/0.4203, allocations: 35.36 kB / 1.075 GB, free: 3.762 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.4203, allocations: 4 kB / 1.075 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of Templates: time 0.004815/0.4251, allocations: 2.74 MB / 1.077 GB, free: 1.035 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches