Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.001438/0.001438, allocations: 115.2 kB / 17.13 MB, free: 5.914 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.001578/0.001578, allocations: 193.2 kB / 20.08 MB, free: 2.98 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.421/1.421, allocations: 225.6 MB / 248.5 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 68.08 kB / 1.057 GB, free: 1.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3077, allocations: 160.7 MB / 1.214 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002865/0.3106, allocations: 1.438 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.312, allocations: 1.092 MB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.3121, allocations: 4 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.892e-05/0.3122, allocations: 39.53 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.3123, allocations: 47.53 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.3126, allocations: 123.8 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.313, allocations: 332.6 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000307/0.3133, allocations: 158 kB / 1.217 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.3135, allocations: 139.4 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.3137, allocations: 143.3 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.794e-05/0.3137, allocations: 40 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.635e-05/0.3138, allocations: 39.94 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.079e-05/0.3138, allocations: 87.69 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.314, allocations: 147.2 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004869/0.3145, allocations: 477.9 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3145, allocations: 4 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3145, allocations: 0 / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.3145, allocations: 4 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0008892/0.3154, allocations: 0.5844 MB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.3154, allocations: 8.031 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.542e-05/0.3155, allocations: 40.7 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005557/0.316, allocations: 329.2 kB / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.3161, allocations: 29.03 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.3161, allocations: 28.38 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.3167, allocations: 278.6 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3167, allocations: 192 / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.403e-05/0.3167, allocations: 19.94 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.3167, allocations: 8 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005577/0.3173, allocations: 238.4 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.3185, allocations: 0.8 MB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/0.3189, allocations: 222.6 kB / 1.221 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.3192, allocations: 96.81 kB / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.3192, allocations: 4 kB / 1.221 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.3193, allocations: 38.55 kB / 1.221 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.3193, allocations: 0 / 1.221 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26): time 0.000782/0.32, allocations: 300.3 kB / 1.221 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.3201, allocations: 59.28 kB / 1.221 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.3203, allocations: 211.7 kB / 1.221 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.3203, allocations: 29.7 kB / 1.221 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.3204, allocations: 172.6 kB / 1.222 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.094e-05/0.3205, allocations: 87.27 kB / 1.222 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.3206, allocations: 61.97 kB / 1.222 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3208, allocations: 338.8 kB / 1.222 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.321, allocations: 76.52 kB / 1.222 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.3213, allocations: 143.8 kB / 1.222 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/0.3217, allocations: 224.3 kB / 1.223 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3217, allocations: 0 / 1.223 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005806/0.3223, allocations: 277.2 kB / 1.223 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3223, allocations: 4 kB / 1.223 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3223, allocations: 4.219 kB / 1.223 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3224, allocations: 4 kB / 1.223 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.3226, allocations: 55.84 kB / 1.223 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.3226, allocations: 7.984 kB / 1.223 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.3228, allocations: 27.84 kB / 1.223 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.3228, allocations: 12 kB / 1.223 GB, free: 7.512 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (33): * Single equations (assignments): 33 * 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.0001636/0.323, allocations: 151.5 kB / 1.223 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.323, allocations: 23.86 kB / 1.223 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005861/0.3236, allocations: 247.5 kB / 1.223 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3236, allocations: 3.938 kB / 1.223 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3236, allocations: 4 kB / 1.223 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3236, allocations: 0 / 1.223 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.324, allocations: 337.4 kB / 1.224 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.324, allocations: 3.938 kB / 1.224 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.3242, allocations: 43.97 kB / 1.224 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3242, allocations: 0 / 1.224 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.3242, allocations: 4 kB / 1.224 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3242, allocations: 7.938 kB / 1.224 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3242, allocations: 3.984 kB / 1.224 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005627/0.3248, allocations: 330.3 kB / 1.224 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.956e-05/0.3249, allocations: 104.9 kB / 1.224 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.3249, allocations: 4 kB / 1.224 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.325, allocations: 11.92 kB / 1.224 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/0.3251, allocations: 27.97 kB / 1.224 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.3251, allocations: 4 kB / 1.224 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001165/0.3252, allocations: 140.2 kB / 1.224 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3252, allocations: 0 / 1.224 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003148/0.3256, allocations: 59.78 kB / 1.224 GB, free: 5.938 MB / 0.9669 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.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0001414/0.3257, allocations: 117.5 kB / 1.224 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005349/0.3262, allocations: 208.8 kB / 1.225 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3262, allocations: 0 / 1.225 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.3265, allocations: 104.3 kB / 1.225 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.3268, allocations: 31.78 kB / 1.225 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008901/0.3277, allocations: 0.4975 MB / 1.225 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.3281, allocations: 0.7636 MB / 1.226 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.728e-05/0.3282, allocations: 23.44 kB / 1.226 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.3282, allocations: 3.938 kB / 1.226 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of Templates: time 0.005216/0.3334, allocations: 3.031 MB / 1.229 GB, free: 1.113 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.21802947903052]