Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 92.62 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.001683/0.001683, allocations: 178.9 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.504/1.504, allocations: 223.3 MB / 241 MB, free: 5.273 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.739/2.739, allocations: 437.8 MB / 0.7128 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003741, allocations: 12 kB / 0.8736 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8185/0.8189, allocations: 153.8 MB / 1.024 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.00133/0.8203, allocations: 0.7075 MB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.8218, allocations: 0.9674 MB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.8219, allocations: 0 / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.943e-05/0.822, allocations: 11.86 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.8221, allocations: 11.88 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.8224, allocations: 51.95 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.8226, allocations: 155.6 kB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.8228, allocations: 80.17 kB / 1.026 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.823, allocations: 47.72 kB / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.8231, allocations: 47.72 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.8231, allocations: 4 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.999e-05/0.8232, allocations: 4 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.848e-05/0.8232, allocations: 31.83 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.606e-05/0.8233, allocations: 73.38 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.8235, allocations: 153.5 kB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.8235, allocations: 4 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8235, allocations: 0 / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.8235, allocations: 0 / 1.026 GB, free: 13.46 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.000696/0.8242, allocations: 427.3 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.8243, allocations: 8.031 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.8243, allocations: 16.75 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005697/0.8249, allocations: 277.9 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.825, allocations: 8.656 kB / 1.027 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.8251, allocations: 12.38 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.8255, allocations: 156.3 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.8255, allocations: 192 / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.8255, allocations: 11.94 kB / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.8255, allocations: 0 / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003728/0.8259, allocations: 124.8 kB / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008159/0.8267, allocations: 472.2 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.827, allocations: 118.4 kB / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.8272, allocations: 60.89 kB / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.855e-05/0.8272, allocations: 7.922 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.8273, allocations: 34.56 kB / 1.028 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.8273, allocations: 0 / 1.028 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005794/0.8279, allocations: 185.4 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.8279, allocations: 55.41 kB / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.8281, allocations: 157.1 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.8281, allocations: 25.7 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.8282, allocations: 127.7 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.8282, allocations: 31.56 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.8283, allocations: 25.7 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.8284, allocations: 326.8 kB / 1.029 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.8285, allocations: 43.97 kB / 1.029 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.8287, allocations: 79.39 kB / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.829, allocations: 115.3 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.8291, allocations: 0 / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004165/0.8295, allocations: 165.4 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.8295, allocations: 4 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.8295, allocations: 0 / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.8295, allocations: 7.984 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.8297, allocations: 27.92 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.8297, allocations: 4 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.8298, allocations: 27.92 kB / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.8299, allocations: 7.984 kB / 1.029 GB, free: 10.13 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.0001139/0.83, allocations: 134.2 kB / 1.029 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.83, allocations: 7.906 kB / 1.029 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.929e-05/0.8301, allocations: 20.7 kB / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.8301, allocations: 0 / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.8301, allocations: 0 / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-06/0.8301, allocations: 8 kB / 1.029 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.8303, allocations: 233.4 kB / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8303, allocations: 4 kB / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.8305, allocations: 19.98 kB / 1.029 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.8305, allocations: 0 / 1.029 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.8305, allocations: 4 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.8305, allocations: 0 / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.8305, allocations: 4 kB / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004265/0.8309, allocations: 243.2 kB / 1.03 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.831, allocations: 85.02 kB / 1.03 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.831, allocations: 7.984 kB / 1.03 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.8312, allocations: 12 kB / 1.03 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.593e-05/0.8312, allocations: 15.97 kB / 1.03 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.8312, allocations: 4 kB / 1.03 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001207/0.8314, allocations: 115.1 kB / 1.03 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8314, allocations: 0 / 1.03 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002543/0.8316, allocations: 31.84 kB / 1.03 GB, free: 9.105 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.0001172/0.8318, allocations: 110.2 kB / 1.03 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003772/0.8321, allocations: 127.7 kB / 1.03 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.8322, allocations: 192 / 1.03 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.8323, allocations: 59.91 kB / 1.03 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.8326, allocations: 19.98 kB / 1.03 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005689/0.8332, allocations: 336 kB / 1.031 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.8335, allocations: 0.7162 MB / 1.031 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.841e-05/0.8336, allocations: 19.42 kB / 1.031 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.8336, allocations: 3.938 kB / 1.031 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of Templates: time 0.003205/0.8368, allocations: 1.613 MB / 1.033 GB, free: 6.059 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches