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.001507/0.001507, allocations: 104 kB / 16.41 MB, free: 6.016 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.001354/0.001354, allocations: 192.3 kB / 17.34 MB, free: 5.609 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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.15 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.295/2.295, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 63.89 kB / 0.9516 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.034, allocations: 140.4 MB / 1.089 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002489/1.036, allocations: 0.9955 MB / 1.09 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001227/1.038, allocations: 0.9615 MB / 1.091 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.034e-05/1.038, allocations: 2.281 kB / 1.091 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.114e-05/1.038, allocations: 18.98 kB / 1.091 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/1.038, allocations: 24.45 kB / 1.091 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/1.038, allocations: 59.58 kB / 1.091 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002259/1.038, allocations: 155.2 kB / 1.091 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/1.039, allocations: 88.88 kB / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/1.039, allocations: 69.64 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/1.039, allocations: 74.77 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.289e-05/1.039, allocations: 16.06 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.744e-05/1.039, allocations: 15.94 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.317e-05/1.039, allocations: 35.2 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.856e-05/1.039, allocations: 66.48 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003026/1.039, allocations: 208.2 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.039, allocations: 4 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.675e-06/1.039, allocations: 1.938 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.292e-06/1.039, allocations: 0 / 1.091 GB, free: 3.91 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.000712/1.04, allocations: 444.3 kB / 1.092 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/1.04, allocations: 8.5 kB / 1.092 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.337e-05/1.04, allocations: 17.09 kB / 1.092 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005054/1.041, allocations: 259.6 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/1.041, allocations: 10.44 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/1.041, allocations: 13.28 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/1.041, allocations: 151 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.041, allocations: 0 / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/1.041, allocations: 5.469 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/1.041, allocations: 7.531 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/1.042, allocations: 115.8 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007305/1.042, allocations: 464.2 kB / 1.093 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/1.043, allocations: 104.4 kB / 1.093 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/1.043, allocations: 54.95 kB / 1.093 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/1.043, allocations: 1.031 kB / 1.093 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/1.043, allocations: 32.48 kB / 1.093 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/1.043, allocations: 0 / 1.093 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005942/1.044, allocations: 170 kB / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/1.044, allocations: 56.73 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/1.044, allocations: 154.2 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/1.044, allocations: 30.42 kB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/1.044, allocations: 124.2 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/1.044, allocations: 33.78 kB / 1.094 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.276e-05/1.044, allocations: 35.48 kB / 1.094 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.038e-05/1.044, allocations: 324.3 kB / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/1.044, allocations: 52.48 kB / 1.094 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/1.044, allocations: 71.86 kB / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/1.045, allocations: 111.9 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.045, allocations: 0.8438 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003838/1.045, allocations: 147.2 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.045, allocations: 9 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.045, allocations: 1.781 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/1.045, allocations: 5.938 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/1.045, allocations: 28.19 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.045, allocations: 5.797 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/1.045, allocations: 14.27 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/1.045, allocations: 8.547 kB / 1.094 GB, free: 1.656 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.0001088/1.046, allocations: 133.1 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/1.046, allocations: 13.19 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/1.046, allocations: 19.83 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/1.046, allocations: 2.359 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.046, allocations: 0.75 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/1.046, allocations: 0.7969 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/1.046, allocations: 223.4 kB / 1.095 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.046, allocations: 5.328 kB / 1.095 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/1.046, allocations: 22.91 kB / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/1.046, allocations: 1.406 kB / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/1.046, allocations: 1.266 kB / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.046, allocations: 0.7188 kB / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.046, allocations: 9.578 kB / 1.095 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004023/1.047, allocations: 231.6 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/1.047, allocations: 93.19 kB / 1.095 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/1.047, allocations: 2 kB / 1.095 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/1.047, allocations: 7.953 kB / 1.095 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/1.047, allocations: 24.33 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/1.047, allocations: 2.062 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.04e-05/1.047, allocations: 110.6 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/1.047, allocations: 0.625 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003292/1.047, allocations: 21.94 kB / 1.095 GB, free: 0.8984 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.0001397/1.047, allocations: 103 kB / 1.095 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004116/1.048, allocations: 113.2 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.048, allocations: 0 / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001763/1.048, allocations: 58.06 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/1.048, allocations: 11.61 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006379/1.049, allocations: 296.6 kB / 1.096 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/1.049, allocations: 0.7111 MB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.705e-05/1.05, allocations: 18.28 kB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/1.05, allocations: 0 / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of Templates: time 0.0049/1.054, allocations: 1.673 MB / 1.098 GB, free: 15.66 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