Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001419/0.001419, allocations: 108 kB / 15.6 MB, free: 132 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.001738/0.001738, allocations: 195 kB / 16.53 MB, free: 6.391 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.561/1.561, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.997/2.997, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 76.88 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3959, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002928/0.3988, allocations: 1.301 MB / 1.07 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.4003, allocations: 1.084 MB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.4005, allocations: 11.94 kB / 1.071 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.4007, allocations: 35.53 kB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.408e-05/0.4008, allocations: 31.61 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.4012, allocations: 115.8 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.4015, allocations: 300.4 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003142/0.4018, allocations: 172.8 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.402, allocations: 119.5 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.4021, allocations: 131.4 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.13e-05/0.4022, allocations: 32 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.014e-05/0.4022, allocations: 32 kB / 1.072 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.218e-05/0.4023, allocations: 67.77 kB / 1.072 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.4024, allocations: 127.3 kB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.4028, allocations: 394.9 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4028, allocations: 0 / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.897e-06/0.4028, allocations: 0 / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.4029, allocations: 7.938 kB / 1.072 GB, free: 6.422 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009038/0.4038, allocations: 0.5473 MB / 1.073 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.4038, allocations: 12.03 kB / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.958e-05/0.4039, allocations: 28.56 kB / 1.073 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.4044, allocations: 325 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.4045, allocations: 24.94 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/0.4045, allocations: 28.31 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004717/0.405, allocations: 237.4 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.405, allocations: 192 / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/0.4051, allocations: 19.92 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.4051, allocations: 4 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004478/0.4055, allocations: 186.1 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.4066, allocations: 0.6978 MB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/0.407, allocations: 174.8 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.4072, allocations: 80.81 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.4073, allocations: 0 / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.4073, allocations: 42.5 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 1.313e-06/0.4073, allocations: 0 / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0006535/0.408, allocations: 227.7 kB / 1.075 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.408, allocations: 55.39 kB / 1.075 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.4082, allocations: 211.6 kB / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.4082, allocations: 37.7 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.4084, allocations: 156.4 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.4084, allocations: 55.36 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.574e-05/0.4085, allocations: 65.83 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4086, allocations: 330.8 kB / 1.076 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.4088, allocations: 64.42 kB / 1.076 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.4091, allocations: 132.8 kB / 1.076 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.4094, allocations: 174.6 kB / 1.076 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4094, allocations: 0 / 1.076 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004599/0.4099, allocations: 226.9 kB / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.4099, allocations: 4 kB / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.4099, allocations: 4 kB / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.4099, allocations: 4 kB / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.4101, allocations: 39.91 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.4101, allocations: 8 kB / 1.076 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.4103, allocations: 32.05 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.4103, allocations: 8 kB / 1.076 GB, free: 1.965 MB / 0.8262 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.0001864/0.4105, allocations: 155.2 kB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/0.4106, allocations: 19.72 kB / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.338e-05/0.4106, allocations: 25.86 kB / 1.076 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.4106, allocations: 4 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4106, allocations: 0 / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4106, allocations: 4 kB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.411, allocations: 301.4 kB / 1.077 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.411, allocations: 4 kB / 1.077 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.4111, allocations: 31.91 kB / 1.077 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4112, allocations: 0 / 1.077 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.4112, allocations: 0 / 1.077 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4112, allocations: 4 kB / 1.077 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4112, allocations: 0 / 1.077 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000447/0.4116, allocations: 284.5 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.4117, allocations: 92.86 kB / 1.077 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.4118, allocations: 4 kB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.4119, allocations: 15.98 kB / 1.077 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.032e-05/0.412, allocations: 27.91 kB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.412, allocations: 11.98 kB / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001122/0.4121, allocations: 137.5 kB / 1.077 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4121, allocations: 4 kB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002944/0.4124, allocations: 47.75 kB / 1.077 GB, free: 0.7305 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: 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.0001456/0.4126, allocations: 112.8 kB / 1.077 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005047/0.4131, allocations: 186.4 kB / 1.078 GB, free: 440 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4131, allocations: 0 / 1.078 GB, free: 440 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.4133, allocations: 83.89 kB / 1.078 GB, free: 356 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.4137, allocations: 46.47 kB / 1.078 GB, free: 312 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008216/0.4145, allocations: 406 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.4148, allocations: 0.7526 MB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001407/0.415, allocations: 25.94 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.112e-05/0.4151, allocations: 23.44 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.4151, allocations: 4 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of Templates: time 0.005625/0.4207, allocations: 1.956 MB / 1.081 GB, free: 13.16 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches