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.000955/0.000955, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001612/0.001612, allocations: 173 kB / 23.02 MB, free: 1.551 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.9008/0.9008, allocations: 177.2 MB / 203.4 MB, free: 5.637 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.067/2.067, allocations: 429.5 MB / 0.6733 GB, free: 4.066 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 1.904e-06/1.904e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.231e-05, allocations: 8.844 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001707/0.00173, allocations: 1.019 MB / 0.8792 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.002825, allocations: 1.034 MB / 0.8802 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.654e-05/0.002912, allocations: 4 kB / 0.8802 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.729e-05/0.002959, allocations: 15.8 kB / 0.8802 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.003074, allocations: 33 kB / 0.8803 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.003323, allocations: 65.2 kB / 0.8803 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.003479, allocations: 168.1 kB / 0.8805 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.00364, allocations: 60.73 kB / 0.8806 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.003876, allocations: 120.3 kB / 0.8807 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.707e-05/0.003953, allocations: 44.47 kB / 0.8807 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.003978, allocations: 16 kB / 0.8807 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.518e-05/0.004024, allocations: 20.53 kB / 0.8807 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.004047, allocations: 33.44 kB / 0.8808 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.004087, allocations: 39.91 kB / 0.8808 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.004254, allocations: 119.4 kB / 0.8809 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004256, allocations: 0 / 0.8809 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.11e-07/0.004256, allocations: 1.906 kB / 0.8809 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.004261, allocations: 0 / 0.8809 GB, free: 3.555 MB / 0.8386 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.0004585/0.004719, allocations: 467.9 kB / 0.8814 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.004759, allocations: 12.02 kB / 0.8814 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.004883, allocations: 39.47 kB / 0.8814 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.005066, allocations: 176.8 kB / 0.8816 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.005092, allocations: 8.375 kB / 0.8816 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.005109, allocations: 16.38 kB / 0.8816 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.005313, allocations: 123.8 kB / 0.8817 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.00532, allocations: 192 / 0.8817 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.005335, allocations: 9.094 kB / 0.8817 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.005343, allocations: 4.375 kB / 0.8817 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.157e-05/0.005434, allocations: 54.61 kB / 0.8818 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004676/0.005902, allocations: 439.2 kB / 0.8822 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.006049, allocations: 84.53 kB / 0.8823 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.22e-05/0.006091, allocations: 31.61 kB / 0.8823 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.006107, allocations: 4 kB / 0.8823 GB, free: 2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.006127, allocations: 37.39 kB / 0.8824 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.006128, allocations: 0 / 0.8824 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0002095/0.006338, allocations: 117.4 kB / 0.8825 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.006369, allocations: 51.41 kB / 0.8825 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.00649, allocations: 213.8 kB / 0.8827 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.006505, allocations: 29.69 kB / 0.8828 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.006573, allocations: 167.2 kB / 0.8829 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.006598, allocations: 27.75 kB / 0.8829 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.006645, allocations: 47.31 kB / 0.883 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.006767, allocations: 0.4923 MB / 0.8835 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.769e-05/0.006805, allocations: 27.92 kB / 0.8835 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.06e-05/0.006865, allocations: 61.95 kB / 0.8836 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.214e-05/0.006948, allocations: 74.62 kB / 0.8836 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.00695, allocations: 0 / 0.8836 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000124/0.007074, allocations: 109.5 kB / 0.8837 GB, free: 460 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.007088, allocations: 8.094 kB / 0.8837 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.007093, allocations: 0 / 0.8837 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.007107, allocations: 8 kB / 0.8838 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.894e-05/0.007206, allocations: 27.91 kB / 0.8838 GB, free: 416 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.007212, allocations: 0 / 0.8838 GB, free: 416 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.007251, allocations: 19.89 kB / 0.8838 GB, free: 396 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.00726, allocations: 7.938 kB / 0.8838 GB, free: 388 kB / 0.8386 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.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 (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 8e-05/0.00734, allocations: 161.9 kB / 0.884 GB, free: 216 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.007365, allocations: 23.88 kB / 0.884 GB, free: 192 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.553e-05/0.00739, allocations: 16.77 kB / 0.884 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.007393, allocations: 4 kB / 0.884 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.007397, allocations: 0 / 0.884 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.0074, allocations: 0 / 0.884 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.007544, allocations: 172.5 kB / 0.8842 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.007545, allocations: 0 / 0.8842 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.437e-05/0.007589, allocations: 19.92 kB / 0.8842 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.007593, allocations: 7.938 kB / 0.8842 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.007602, allocations: 4 kB / 0.8842 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.007603, allocations: 0 / 0.8842 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007604, allocations: 0 / 0.8842 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.007755, allocations: 243.8 kB / 0.8844 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.007767, allocations: 15.89 kB / 0.8844 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.007787, allocations: 3.938 kB / 0.8844 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.332e-05/0.007831, allocations: 8 kB / 0.8845 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.007888, allocations: 19.91 kB / 0.8845 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.007894, allocations: 4 kB / 0.8845 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.742e-05/0.007951, allocations: 152.3 kB / 0.8846 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007951, allocations: 0 / 0.8846 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001616/0.008113, allocations: 23.89 kB / 0.8846 GB, free: 15.45 MB / 0.8542 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.469e-05/0.008187, allocations: 110.1 kB / 0.8848 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.008316, allocations: 67.59 kB / 0.8848 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.008317, allocations: 0 / 0.8848 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.096e-05/0.008368, allocations: 48.47 kB / 0.8849 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.008561, allocations: 21.56 kB / 0.8849 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000611/0.009172, allocations: 273.4 kB / 0.8851 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.801e-05/0.00922, allocations: 71.83 kB / 0.8852 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.77e-05/0.009278, allocations: 17.14 kB / 0.8852 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.009326, allocations: 16.5 kB / 0.8852 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.009327, allocations: 0 / 0.8852 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of Templates: time 0.003355/0.01268, allocations: 1.324 MB / 0.8865 GB, free: 13.52 MB / 0.8542 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.207545893266797]