Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00176/0.00176, allocations: 108.7 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002356/0.002356, allocations: 183 kB / 17.34 MB, free: 5.766 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.28/2.28, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.91 kB / 0.9516 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.016, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002635/1.019, allocations: 0.9997 MB / 1.09 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001381/1.02, allocations: 0.9616 MB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/1.02, allocations: 2.125 kB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.223e-05/1.02, allocations: 14.39 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001345/1.021, allocations: 32.91 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/1.021, allocations: 64.44 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002255/1.021, allocations: 157.8 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/1.021, allocations: 86.31 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/1.021, allocations: 68.25 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/1.022, allocations: 71.95 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/1.022, allocations: 19.59 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.288e-05/1.022, allocations: 16.66 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.569e-05/1.022, allocations: 37.91 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.97e-05/1.022, allocations: 72.2 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003547/1.022, allocations: 200.9 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.789e-06/1.022, allocations: 5.766 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.354e-06/1.022, allocations: 0 / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.472e-05/1.022, allocations: 0 / 1.091 GB, free: 3.695 MB / 0.8575 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.00073/1.023, allocations: 441.4 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/1.023, allocations: 9.406 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/1.023, allocations: 18.2 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004945/1.024, allocations: 258.7 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/1.024, allocations: 10.88 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/1.024, allocations: 13.16 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/1.024, allocations: 146.8 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.024, allocations: 0 / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/1.024, allocations: 4.969 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/1.024, allocations: 3.188 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/1.025, allocations: 120 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009852/1.026, allocations: 473.3 kB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/1.026, allocations: 108.8 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/1.026, allocations: 49.66 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/1.026, allocations: 1.266 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/1.026, allocations: 37.05 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/1.026, allocations: 0 / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.00075/1.027, allocations: 169.3 kB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/1.027, allocations: 53.38 kB / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/1.027, allocations: 157.2 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/1.027, allocations: 25.7 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/1.027, allocations: 128.7 kB / 1.094 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/1.027, allocations: 33.47 kB / 1.094 GB, free: 2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.75e-05/1.027, allocations: 42.88 kB / 1.094 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.428e-05/1.027, allocations: 324.8 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/1.028, allocations: 39.59 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/1.028, allocations: 72.61 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/1.028, allocations: 103.3 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/1.028, allocations: 0.8438 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004527/1.029, allocations: 154.7 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/1.029, allocations: 6.266 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/1.029, allocations: 1.344 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/1.029, allocations: 1.469 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/1.029, allocations: 29.27 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/1.029, allocations: 4.812 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/1.029, allocations: 22.83 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/1.029, allocations: 7.922 kB / 1.094 GB, free: 1.441 MB / 0.8575 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.0001305/1.029, allocations: 125.9 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/1.029, allocations: 13.17 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.724e-05/1.029, allocations: 16.19 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/1.029, allocations: 2.094 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/1.029, allocations: 0.7969 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/1.029, allocations: 0.875 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/1.03, allocations: 236.3 kB / 1.095 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/1.03, allocations: 0 / 1.095 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/1.03, allocations: 23.5 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/1.03, allocations: 0.8438 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/1.03, allocations: 2.156 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/1.03, allocations: 0.75 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.03, allocations: 0 / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/1.03, allocations: 233.5 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/1.03, allocations: 92.47 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/1.03, allocations: 1.5 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/1.031, allocations: 12.81 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.896e-05/1.031, allocations: 15.62 kB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/1.031, allocations: 6.281 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.224e-05/1.031, allocations: 113.3 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.031, allocations: 7.938 kB / 1.095 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002718/1.031, allocations: 22.09 kB / 1.095 GB, free: 0.6875 MB / 0.8575 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.0001825/1.031, allocations: 111.5 kB / 1.095 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004544/1.032, allocations: 109.6 kB / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.032, allocations: 192 / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/1.032, allocations: 61.81 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/1.032, allocations: 17.97 kB / 1.095 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007159/1.033, allocations: 291 kB / 1.096 GB, free: 324 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/1.033, allocations: 0.7146 MB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.664e-05/1.033, allocations: 18.05 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of SimCode: time 3.01e-07/1.033, allocations: 0 / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of Templates: time 0.005339/1.039, allocations: 1.653 MB / 1.098 GB, free: 15.45 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches