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.00139/0.00139, allocations: 92.22 kB / 19.65 MB, free: 276 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.001597/0.001597, allocations: 169 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.941/0.941, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.112/2.112, allocations: 429.5 MB / 0.6732 GB, free: 4.031 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.813e-06/1.813e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.665e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001571/0.001598, allocations: 1.02 MB / 0.8792 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009565/0.002555, allocations: 1.031 MB / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.719e-05/0.002612, allocations: 4 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.767e-05/0.002649, allocations: 16.73 kB / 0.8802 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.717e-05/0.002747, allocations: 23.75 kB / 0.8803 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.002965, allocations: 72.83 kB / 0.8803 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.003095, allocations: 164.1 kB / 0.8805 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.003233, allocations: 66.7 kB / 0.8805 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.003414, allocations: 103.8 kB / 0.8806 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.101e-05/0.003485, allocations: 51.8 kB / 0.8807 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.003509, allocations: 21.12 kB / 0.8807 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.634e-05/0.003555, allocations: 20 kB / 0.8807 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.003581, allocations: 39.83 kB / 0.8808 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.003617, allocations: 40.89 kB / 0.8808 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.003783, allocations: 131.4 kB / 0.8809 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.003785, allocations: 0.6562 kB / 0.8809 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.51e-07/0.003786, allocations: 4 kB / 0.8809 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.003794, allocations: 0.5 kB / 0.8809 GB, free: 3.5 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.0004394/0.004234, allocations: 477 kB / 0.8814 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.004268, allocations: 8.031 kB / 0.8814 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.004381, allocations: 33.5 kB / 0.8814 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.004626, allocations: 193.5 kB / 0.8816 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.004651, allocations: 12.38 kB / 0.8816 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.004676, allocations: 12.38 kB / 0.8816 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.004907, allocations: 132.4 kB / 0.8818 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.004919, allocations: 0.75 kB / 0.8818 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.004932, allocations: 4.375 kB / 0.8818 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.004941, allocations: 5.469 kB / 0.8818 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.352e-05/0.005034, allocations: 53.09 kB / 0.8818 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.00548, allocations: 431.9 kB / 0.8822 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.005622, allocations: 88.19 kB / 0.8823 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.334e-05/0.005665, allocations: 35.22 kB / 0.8824 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.005682, allocations: 0 / 0.8824 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.005702, allocations: 41.33 kB / 0.8824 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 8.42e-07/0.005703, allocations: 0 / 0.8824 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0002121/0.005915, allocations: 117.8 kB / 0.8825 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.005939, allocations: 51.41 kB / 0.8826 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.006043, allocations: 215.7 kB / 0.8828 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.006055, allocations: 25.7 kB / 0.8828 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.006119, allocations: 171.1 kB / 0.883 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.006141, allocations: 32.45 kB / 0.883 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.006187, allocations: 47.34 kB / 0.883 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.006294, allocations: 0.489 MB / 0.8835 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.543e-05/0.00633, allocations: 21.48 kB / 0.8835 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.333e-05/0.006383, allocations: 66.59 kB / 0.8836 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.952e-05/0.006463, allocations: 74.8 kB / 0.8837 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.006465, allocations: 0 / 0.8837 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001261/0.006591, allocations: 109.4 kB / 0.8838 GB, free: 388 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.006603, allocations: 8 kB / 0.8838 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.006607, allocations: 0 / 0.8838 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.006623, allocations: 7.984 kB / 0.8838 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.705e-05/0.00672, allocations: 19.98 kB / 0.8838 GB, free: 352 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.006726, allocations: 7.875 kB / 0.8838 GB, free: 344 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.982e-05/0.006766, allocations: 23.98 kB / 0.8838 GB, free: 320 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.006775, allocations: 8 kB / 0.8838 GB, free: 312 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 7.321e-05/0.006849, allocations: 161.9 kB / 0.884 GB, free: 140 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.006873, allocations: 19.89 kB / 0.884 GB, free: 120 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.006901, allocations: 12.77 kB / 0.884 GB, free: 108 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.006904, allocations: 4 kB / 0.884 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.006907, allocations: 0 / 0.884 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.00691, allocations: 0 / 0.884 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.007053, allocations: 168.5 kB / 0.8842 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.007054, allocations: 4 kB / 0.8842 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.007101, allocations: 19.92 kB / 0.8842 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.007102, allocations: 3.938 kB / 0.8842 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.007111, allocations: 8 kB / 0.8842 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.007112, allocations: 0 / 0.8842 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.007113, allocations: 0 / 0.8842 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.007271, allocations: 243.8 kB / 0.8845 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.007286, allocations: 15.84 kB / 0.8845 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.007302, allocations: 3.938 kB / 0.8845 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.334e-05/0.007346, allocations: 8 kB / 0.8845 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.0074, allocations: 19.97 kB / 0.8845 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.007406, allocations: 4 kB / 0.8845 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.281e-05/0.007459, allocations: 148.3 kB / 0.8847 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.007459, allocations: 4 kB / 0.8847 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001614/0.00762, allocations: 23.89 kB / 0.8847 GB, free: 15.39 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.253e-05/0.007693, allocations: 109.2 kB / 0.8848 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.007818, allocations: 67.78 kB / 0.8848 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.007819, allocations: 4 kB / 0.8849 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.992e-05/0.007869, allocations: 47.59 kB / 0.8849 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.008058, allocations: 19.94 kB / 0.8849 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.0086, allocations: 267.6 kB / 0.8852 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.86e-05/0.008648, allocations: 71.83 kB / 0.8852 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.83e-05/0.008697, allocations: 21.14 kB / 0.8853 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.489e-05/0.008741, allocations: 20.5 kB / 0.8853 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.008742, allocations: 0 / 0.8853 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.003102/0.01184, allocations: 1.276 MB / 0.8865 GB, free: 13.49 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.359379271045327]