Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_10_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=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008817/0.000882, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 178 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.641/2.641, allocations: 437.8 MB / 0.7128 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004447, allocations: 12 kB / 0.8735 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8176/0.8181, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001675/0.8199, allocations: 0.6996 MB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.8215, allocations: 0.9713 MB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.8216, allocations: 4 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.173e-05/0.8217, allocations: 3.938 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.8218, allocations: 15.86 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.8221, allocations: 51.95 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.8223, allocations: 151.6 kB / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.8225, allocations: 80.12 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.8227, allocations: 55.72 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.8228, allocations: 47.7 kB / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.8228, allocations: 4 kB / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.743e-05/0.8228, allocations: 4 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.718e-05/0.8229, allocations: 27.84 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.448e-05/0.823, allocations: 77.36 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.8231, allocations: 153.5 kB / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.8232, allocations: 3.984 kB / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8232, allocations: 0 / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.8232, allocations: 0 / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006775/0.8239, allocations: 435.1 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.8239, allocations: 11.98 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.824, allocations: 16.75 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/0.8244, allocations: 256.3 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.8245, allocations: 20.59 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.8245, allocations: 12.38 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.8249, allocations: 152.3 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.8249, allocations: 192 / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.8249, allocations: 11.94 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.8249, allocations: 4 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003529/0.8253, allocations: 120.8 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007296/0.826, allocations: 472.1 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.8263, allocations: 122.5 kB / 1.028 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.8265, allocations: 52.83 kB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.8266, allocations: 0 / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.8266, allocations: 34.56 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.8266, allocations: 4 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005896/0.8272, allocations: 185.4 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.8272, allocations: 55.41 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.8274, allocations: 158.8 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.8274, allocations: 25.7 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.662e-05/0.8275, allocations: 127.7 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.8275, allocations: 31.55 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.8276, allocations: 29.7 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.8277, allocations: 322.8 kB / 1.029 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.8279, allocations: 47.97 kB / 1.029 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.8281, allocations: 79.27 kB / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.8284, allocations: 123.3 kB / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8284, allocations: 0 / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004038/0.8288, allocations: 161.8 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.8289, allocations: 12.09 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.8289, allocations: 0 / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.8289, allocations: 0 / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.8291, allocations: 31.97 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.8291, allocations: 3.984 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.8292, allocations: 19.83 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.8292, allocations: 8 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.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 (14): * Single equations (assignments): 14 * 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.0001311/0.8294, allocations: 135.6 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.8294, allocations: 11.91 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.8295, allocations: 16.7 kB / 1.029 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.8295, allocations: 7.938 kB / 1.029 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.8295, allocations: 0 / 1.029 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.8295, allocations: 0 / 1.029 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.8298, allocations: 233.4 kB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.8298, allocations: 4 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.8299, allocations: 27.97 kB / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.8299, allocations: 0 / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.83, allocations: 4 kB / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.83, allocations: 0 / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.83, allocations: 0 / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.8304, allocations: 251.2 kB / 1.03 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.8305, allocations: 85.02 kB / 1.03 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.8305, allocations: 0 / 1.03 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.8306, allocations: 15.98 kB / 1.03 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.8307, allocations: 19.97 kB / 1.03 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.8307, allocations: 4 kB / 1.03 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.806e-05/0.8308, allocations: 111.2 kB / 1.03 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8308, allocations: 0 / 1.03 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002589/0.8311, allocations: 27.84 kB / 1.03 GB, free: 9.137 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001487/0.8312, allocations: 107.2 kB / 1.03 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003914/0.8316, allocations: 123.8 kB / 1.03 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8316, allocations: 0 / 1.03 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.8318, allocations: 64.09 kB / 1.03 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.8321, allocations: 16 kB / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000625/0.8328, allocations: 344 kB / 1.031 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.8331, allocations: 0.7122 MB / 1.031 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/0.8332, allocations: 15.44 kB / 1.031 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8332, allocations: 3.938 kB / 1.031 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of Templates: time 0.003683/0.8369, allocations: 1.623 MB / 1.033 GB, free: 6.086 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches