Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008105/0.0008105, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009067/0.0009067, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8995/0.8995, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.754/1.754, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.737e-06/3.737e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/3.189e-05, allocations: 6.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002106/0.002138, allocations: 1.317 MB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.003412, allocations: 1.116 MB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.003567, allocations: 4 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 7.872e-05/0.003646, allocations: 39.47 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.003794, allocations: 55.53 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.004127, allocations: 127.7 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.004405, allocations: 348.5 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004074/0.004812, allocations: 142.5 kB / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000366/0.005178, allocations: 215.4 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.005306, allocations: 111.6 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.005346, allocations: 36 kB / 1.004 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.158e-05/0.005407, allocations: 44 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.185e-05/0.005449, allocations: 79.73 kB / 1.004 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.044e-05/0.005519, allocations: 103.7 kB / 1.005 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00043/0.005949, allocations: 0.4944 MB / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.005953, allocations: 0 / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.513e-06/0.005954, allocations: 0 / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.005962, allocations: 0 / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0006696/0.006632, allocations: 0.5095 MB / 1.006 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.006672, allocations: 12.75 kB / 1.006 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.006835, allocations: 40.7 kB / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.007211, allocations: 282.8 kB / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.007239, allocations: 25.38 kB / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.00727, allocations: 36.31 kB / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.007662, allocations: 291.1 kB / 1.006 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.007674, allocations: 192 / 1.006 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.007699, allocations: 12.38 kB / 1.006 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.007709, allocations: 8.375 kB / 1.006 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003323/0.008042, allocations: 243.8 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008601/0.008902, allocations: 0.6506 MB / 1.007 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.009253, allocations: 220.3 kB / 1.007 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.009394, allocations: 113.3 kB / 1.007 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.009422, allocations: 4.234 kB / 1.007 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.009445, allocations: 38.8 kB / 1.007 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=27): time 2.204e-06/0.009447, allocations: 0 / 1.007 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of matching and sorting (n=27): time 0.0005013/0.009949, allocations: 303.5 kB / 1.008 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.009984, allocations: 55.41 kB / 1.008 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.01013, allocations: 211.7 kB / 1.008 GB, free: 5.586 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.01014, allocations: 29.7 kB / 1.008 GB, free: 5.551 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.665e-05/0.01024, allocations: 180.5 kB / 1.008 GB, free: 5.371 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.01028, allocations: 87.28 kB / 1.008 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.311e-05/0.01036, allocations: 77.84 kB / 1.008 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.569e-05/0.01045, allocations: 334.8 kB / 1.009 GB, free: 4.867 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.01058, allocations: 84.44 kB / 1.009 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.01073, allocations: 141 kB / 1.009 GB, free: 4.625 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.01099, allocations: 223.6 kB / 1.009 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01099, allocations: 0 / 1.009 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003353/0.01132, allocations: 273.3 kB / 1.009 GB, free: 4.109 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.01134, allocations: 8 kB / 1.009 GB, free: 4.102 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.01135, allocations: 0 / 1.009 GB, free: 4.102 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.01137, allocations: 4 kB / 1.009 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.01153, allocations: 55.91 kB / 1.009 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.01154, allocations: 7.938 kB / 1.009 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.719e-05/0.01161, allocations: 27.88 kB / 1.009 GB, free: 4.008 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.01163, allocations: 16.16 kB / 1.009 GB, free: 3.992 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.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 (34): * Single equations (assignments): 34 * 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.0001937/0.01182, allocations: 158.3 kB / 1.01 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.01185, allocations: 23.84 kB / 1.01 GB, free: 3.805 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003598/0.01221, allocations: 252.2 kB / 1.01 GB, free: 3.555 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.01222, allocations: 4 kB / 1.01 GB, free: 3.551 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.01222, allocations: 0 / 1.01 GB, free: 3.551 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.01223, allocations: 4 kB / 1.01 GB, free: 3.547 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.01245, allocations: 249 kB / 1.01 GB, free: 3.273 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01245, allocations: 0 / 1.01 GB, free: 3.273 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.23e-05/0.01255, allocations: 39.91 kB / 1.01 GB, free: 3.234 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01255, allocations: 0 / 1.01 GB, free: 3.234 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.01256, allocations: 8 kB / 1.01 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01256, allocations: 0 / 1.01 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01256, allocations: 3.938 kB / 1.01 GB, free: 3.223 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.01287, allocations: 335.7 kB / 1.01 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.01288, allocations: 19.84 kB / 1.011 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.0129, allocations: 8 kB / 1.011 GB, free: 2.852 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.269e-05/0.01297, allocations: 15.92 kB / 1.011 GB, free: 2.836 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.01303, allocations: 23.95 kB / 1.011 GB, free: 2.812 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.01304, allocations: 12 kB / 1.011 GB, free: 2.801 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.872e-05/0.01311, allocations: 133.5 kB / 1.011 GB, free: 2.672 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01311, allocations: 0 / 1.011 GB, free: 2.672 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002103/0.01332, allocations: 67.73 kB / 1.011 GB, free: 2.605 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.or3.y,actAirSet.or2.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 (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 Backend phase and start with SimCode phase: time 0.0002677/0.01359, allocations: 114.6 kB / 1.011 GB, free: 2.488 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003204/0.01391, allocations: 215.9 kB / 1.011 GB, free: 2.277 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01391, allocations: 0 / 1.011 GB, free: 2.277 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.01404, allocations: 108.2 kB / 1.011 GB, free: 2.172 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.01427, allocations: 27.94 kB / 1.011 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006735/0.01494, allocations: 0.4959 MB / 1.012 GB, free: 1.613 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.01505, allocations: 155.5 kB / 1.012 GB, free: 1.441 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.727e-05/0.01511, allocations: 36.48 kB / 1.012 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of SimCode: time 1.343e-06/0.01511, allocations: 0 / 1.012 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of Templates: time 0.00382/0.01893, allocations: 3.147 MB / 1.015 GB, free: 14.27 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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: 6.493351358920336]