Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.0009113/0.0009113, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009516/0.0009516, allocations: 181 kB / 23.36 MB, free: 1.133 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.9869/0.9869, allocations: 177.1 MB / 203.8 MB, free: 5.473 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 2.366/2.366, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/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.SeriesFanCVF.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",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.886e-06/2.886e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.145e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001545/0.001567, allocations: 0.9915 MB / 0.8396 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009767/0.002544, allocations: 1.049 MB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.71e-05/0.002601, allocations: 0 / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.808e-05/0.002639, allocations: 19.73 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.002742, allocations: 27.75 kB / 0.8407 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.002936, allocations: 63.86 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.003069, allocations: 168.1 kB / 0.8409 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.003194, allocations: 70.02 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.003397, allocations: 119.6 kB / 0.8411 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.003469, allocations: 47.81 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.003499, allocations: 12 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.487e-05/0.003543, allocations: 20 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.003567, allocations: 31.91 kB / 0.8412 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.003606, allocations: 47.84 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.003754, allocations: 111.5 kB / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.003756, allocations: 0 / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003757, allocations: 0 / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.247e-06/0.00376, allocations: 3.938 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0003497/0.00411, allocations: 348.2 kB / 0.8417 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.004142, allocations: 8.625 kB / 0.8417 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.898e-05/0.004241, allocations: 32.92 kB / 0.8417 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.004379, allocations: 161.5 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.0044, allocations: 12.38 kB / 0.8419 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.004416, allocations: 12.38 kB / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.004565, allocations: 120.2 kB / 0.842 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.004572, allocations: 4.172 kB / 0.842 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.004584, allocations: 8.375 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.00459, allocations: 4.375 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.149e-05/0.004641, allocations: 36.38 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.004964, allocations: 295.6 kB / 0.8423 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.662e-05/0.00506, allocations: 66.55 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.617e-05/0.005086, allocations: 28.78 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.0051, allocations: 4 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.005119, allocations: 34.5 kB / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.00512, allocations: 0 / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0001312/0.005251, allocations: 89.92 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.00528, allocations: 51.41 kB / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.00536, allocations: 157.7 kB / 0.8427 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.005373, allocations: 37.7 kB / 0.8428 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.005419, allocations: 112.4 kB / 0.8429 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.005442, allocations: 35.69 kB / 0.8429 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.00548, allocations: 41.67 kB / 0.8429 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.00556, allocations: 326.8 kB / 0.8433 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.005577, allocations: 8 kB / 0.8433 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.615e-05/0.005614, allocations: 51.28 kB / 0.8433 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.887e-05/0.005672, allocations: 59.45 kB / 0.8434 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.005675, allocations: 4 kB / 0.8434 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 8.65e-05/0.005761, allocations: 93.47 kB / 0.8435 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.005774, allocations: 9.969 kB / 0.8435 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.005778, allocations: 4 kB / 0.8435 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.005789, allocations: 0 / 0.8435 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.64e-05/0.005865, allocations: 23.97 kB / 0.8435 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.00587, allocations: 11.92 kB / 0.8435 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.294e-05/0.005903, allocations: 16.05 kB / 0.8435 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.00591, allocations: 4 kB / 0.8435 GB, free: 8.973 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.occMod.y,actAirSet.cooDowMod.y,actAirSet.setUpMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 6.237e-05/0.005972, allocations: 113.8 kB / 0.8436 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.005989, allocations: 7.984 kB / 0.8436 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.00601, allocations: 20.72 kB / 0.8437 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006012, allocations: 0 / 0.8437 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.006014, allocations: 4 kB / 0.8437 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.006016, allocations: 0 / 0.8437 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.006121, allocations: 109.8 kB / 0.8438 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.006122, allocations: 4 kB / 0.8438 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/0.006159, allocations: 19.92 kB / 0.8438 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.006159, allocations: 0 / 0.8438 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.006167, allocations: 11.98 kB / 0.8438 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006168, allocations: 0 / 0.8438 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.006169, allocations: 3.938 kB / 0.8438 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.762e-05/0.006267, allocations: 159.5 kB / 0.844 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.216e-05/0.006279, allocations: 15.89 kB / 0.844 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.006292, allocations: 8 kB / 0.844 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.773e-05/0.00633, allocations: 0 / 0.844 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.006375, allocations: 27.91 kB / 0.844 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.006379, allocations: 0 / 0.844 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.294e-05/0.006402, allocations: 34.7 kB / 0.844 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.1e-08/0.006402, allocations: 0 / 0.844 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001303/0.006532, allocations: 31.83 kB / 0.8441 GB, free: 8.371 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 7.349e-05/0.006606, allocations: 87.53 kB / 0.8442 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.828e-05/0.006694, allocations: 56.77 kB / 0.8442 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.006696, allocations: 4.188 kB / 0.8442 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.281e-05/0.006729, allocations: 36.78 kB / 0.8443 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.006862, allocations: 19.98 kB / 0.8443 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.007285, allocations: 269.7 kB / 0.8445 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.83e-05/0.007323, allocations: 63.84 kB / 0.8446 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.004e-05/0.007374, allocations: 21.14 kB / 0.8446 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.625e-05/0.00744, allocations: 75.36 kB / 0.8447 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.00744, allocations: 0 / 0.8447 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of Templates: time 0.002868/0.01031, allocations: 1.31 MB / 0.846 GB, free: 6.441 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.167031789664179]