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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002242/0.002242, allocations: 191.4 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.327/3.327, allocations: 0.4893 GB / 0.7884 GB, free: 33.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.95 kB / 1.145 GB, free: 30.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4103, allocations: 174.9 MB / 1.316 GB, free: 9.711 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.003227/0.4136, allocations: 1.3 MB / 1.317 GB, free: 8.41 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.4152, allocations: 1.1 MB / 1.318 GB, free: 7.297 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000202/0.4154, allocations: 4 kB / 1.318 GB, free: 7.293 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.4156, allocations: 39.53 kB / 1.318 GB, free: 7.254 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.72e-05/0.4157, allocations: 35.62 kB / 1.318 GB, free: 7.219 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.4161, allocations: 111.8 kB / 1.319 GB, free: 7.109 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003605/0.4164, allocations: 300.4 kB / 1.319 GB, free: 6.812 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003263/0.4167, allocations: 137.4 kB / 1.319 GB, free: 6.68 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.4169, allocations: 119.5 kB / 1.319 GB, free: 6.562 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.4171, allocations: 131.3 kB / 1.319 GB, free: 6.434 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.517e-05/0.4172, allocations: 32 kB / 1.319 GB, free: 6.402 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.415e-05/0.4172, allocations: 32 kB / 1.319 GB, free: 6.371 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.829e-05/0.4173, allocations: 63.83 kB / 1.319 GB, free: 6.309 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.4174, allocations: 135.3 kB / 1.319 GB, free: 6.176 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005191/0.418, allocations: 410.2 kB / 1.32 GB, free: 5.773 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.418, allocations: 4 kB / 1.32 GB, free: 5.77 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.853e-06/0.418, allocations: 0 / 1.32 GB, free: 5.77 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.418, allocations: 4 kB / 1.32 GB, free: 5.766 MB / 1.014 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.0009626/0.4189, allocations: 489.6 kB / 1.32 GB, free: 5.25 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.419, allocations: 8.031 kB / 1.32 GB, free: 5.242 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.956e-05/0.4191, allocations: 36.75 kB / 1.32 GB, free: 5.207 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006455/0.4197, allocations: 256.5 kB / 1.321 GB, free: 4.93 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.4197, allocations: 24.97 kB / 1.321 GB, free: 4.906 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.933e-05/0.4198, allocations: 28.38 kB / 1.321 GB, free: 4.879 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/0.4203, allocations: 234.6 kB / 1.321 GB, free: 4.648 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.4203, allocations: 4.172 kB / 1.321 GB, free: 4.645 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.4203, allocations: 15.94 kB / 1.321 GB, free: 4.629 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.4203, allocations: 4 kB / 1.321 GB, free: 4.625 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.4208, allocations: 190.5 kB / 1.321 GB, free: 4.434 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.4219, allocations: 0.652 MB / 1.322 GB, free: 3.734 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004816/0.4223, allocations: 169.2 kB / 1.322 GB, free: 3.562 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.4225, allocations: 76.75 kB / 1.322 GB, free: 3.484 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.4226, allocations: 0 / 1.322 GB, free: 3.484 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.4226, allocations: 38.56 kB / 1.322 GB, free: 3.438 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 9.62e-07/0.4226, allocations: 0 / 1.322 GB, free: 3.438 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.0006464/0.4232, allocations: 243.2 kB / 1.322 GB, free: 3.195 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.4233, allocations: 51.41 kB / 1.322 GB, free: 3.133 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.4235, allocations: 203.8 kB / 1.323 GB, free: 2.922 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.4236, allocations: 33.7 kB / 1.323 GB, free: 2.883 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.4237, allocations: 168.7 kB / 1.323 GB, free: 2.711 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/0.4237, allocations: 51.59 kB / 1.323 GB, free: 2.66 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.815e-05/0.4238, allocations: 61.92 kB / 1.323 GB, free: 2.59 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.424, allocations: 330.8 kB / 1.323 GB, free: 2.258 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.4242, allocations: 68.42 kB / 1.323 GB, free: 2.191 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.4244, allocations: 117.2 kB / 1.323 GB, free: 2.055 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.4247, allocations: 188.6 kB / 1.323 GB, free: 1.848 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4247, allocations: 0 / 1.323 GB, free: 1.848 MB / 1.014 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004695/0.4252, allocations: 225.3 kB / 1.324 GB, free: 1.621 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.4252, allocations: 4 kB / 1.324 GB, free: 1.617 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.4252, allocations: 4.219 kB / 1.324 GB, free: 1.613 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.4253, allocations: 8 kB / 1.324 GB, free: 1.605 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.4254, allocations: 39.91 kB / 1.324 GB, free: 1.566 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.4254, allocations: 0 / 1.324 GB, free: 1.566 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.4256, allocations: 31.81 kB / 1.324 GB, free: 1.535 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.4256, allocations: 12 kB / 1.324 GB, free: 1.523 MB / 1.014 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.000162/0.4258, allocations: 151 kB / 1.324 GB, free: 1.367 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.4258, allocations: 23.84 kB / 1.324 GB, free: 1.344 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.003e-05/0.4259, allocations: 29.8 kB / 1.324 GB, free: 1.316 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.4259, allocations: 4 kB / 1.324 GB, free: 1.312 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.4259, allocations: 0 / 1.324 GB, free: 1.312 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.4259, allocations: 0 / 1.324 GB, free: 1.312 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003597/0.4262, allocations: 280.4 kB / 1.324 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4263, allocations: 0 / 1.324 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.4264, allocations: 23.97 kB / 1.324 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4264, allocations: 3.938 kB / 1.324 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.4264, allocations: 12 kB / 1.324 GB, free: 0.957 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.4264, allocations: 4 kB / 1.324 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4264, allocations: 0 / 1.324 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004498/0.4269, allocations: 278.1 kB / 1.325 GB, free: 0.668 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.4269, allocations: 19.86 kB / 1.325 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.4269, allocations: 4 kB / 1.325 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.4271, allocations: 15.98 kB / 1.325 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.473e-05/0.4272, allocations: 31.95 kB / 1.325 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.4272, allocations: 7.984 kB / 1.325 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001259/0.4273, allocations: 132.2 kB / 1.325 GB, free: 472 kB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4273, allocations: 4 kB / 1.325 GB, free: 468 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002891/0.4276, allocations: 51.78 kB / 1.325 GB, free: 416 kB / 1.014 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.0001516/0.4277, allocations: 121.7 kB / 1.325 GB, free: 284 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004418/0.4282, allocations: 159.8 kB / 1.325 GB, free: 124 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4282, allocations: 0 / 1.325 GB, free: 124 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.4284, allocations: 75.89 kB / 1.325 GB, free: 48 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.4287, allocations: 40.23 kB / 1.325 GB, free: 8 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008364/0.4295, allocations: 403.5 kB / 1.326 GB, free: 15.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.43, allocations: 0.7487 MB / 1.326 GB, free: 14.81 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.4301, allocations: 25.94 kB / 1.326 GB, free: 14.79 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.934e-05/0.4301, allocations: 31.42 kB / 1.326 GB, free: 14.76 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.4301, allocations: 4 kB / 1.326 GB, free: 14.75 MB / 1.029 GB Notification: Performance of Templates: time 0.006481/0.4366, allocations: 2.088 MB / 1.328 GB, free: 12.73 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.73141778819263]