Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.01055/0.01055, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001598/0.001598, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.978/2.978, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 59.91 kB / 1.054 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132/1.134, allocations: 157.4 MB / 1.208 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002606/1.137, allocations: 1.006 MB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001266/1.138, allocations: 0.9829 MB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/1.138, allocations: 4 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.057e-05/1.138, allocations: 19.8 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/1.138, allocations: 19.73 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/1.139, allocations: 59.94 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002049/1.139, allocations: 160.1 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002615/1.139, allocations: 100.1 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/1.139, allocations: 71.66 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/1.139, allocations: 75.67 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/1.139, allocations: 16 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.815e-05/1.139, allocations: 16 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.283e-05/1.139, allocations: 39.84 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.696e-05/1.14, allocations: 75.55 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/1.14, allocations: 211.1 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.14, allocations: 0 / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.583e-06/1.14, allocations: 4 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.662e-06/1.14, allocations: 4 kB / 1.211 GB, free: 10.84 MB / 0.9356 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.0006943/1.14, allocations: 452.7 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/1.141, allocations: 8.031 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/1.141, allocations: 16.75 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/1.141, allocations: 253.2 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/1.141, allocations: 16.38 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/1.141, allocations: 20.36 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/1.141, allocations: 146 kB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/1.141, allocations: 4.188 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/1.141, allocations: 11.94 kB / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/1.142, allocations: 0 / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/1.142, allocations: 115.9 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006628/1.143, allocations: 484 kB / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/1.143, allocations: 126.5 kB / 1.212 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/1.143, allocations: 52.83 kB / 1.212 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/1.143, allocations: 7.984 kB / 1.212 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/1.143, allocations: 34.5 kB / 1.212 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 2.915e-06/1.143, allocations: 0 / 1.212 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.000541/1.144, allocations: 177.4 kB / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/1.144, allocations: 51.41 kB / 1.212 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/1.144, allocations: 157.1 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/1.144, allocations: 29.7 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/1.144, allocations: 128.1 kB / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/1.144, allocations: 31.55 kB / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/1.144, allocations: 37.7 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.144, allocations: 326.8 kB / 1.213 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/1.144, allocations: 39.97 kB / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/1.144, allocations: 82.28 kB / 1.213 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/1.145, allocations: 111.3 kB / 1.213 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.145, allocations: 0 / 1.213 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003886/1.145, allocations: 161.2 kB / 1.213 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/1.145, allocations: 8 kB / 1.213 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.145, allocations: 0 / 1.213 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/1.145, allocations: 0 / 1.213 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/1.145, allocations: 23.98 kB / 1.214 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/1.145, allocations: 4.094 kB / 1.214 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.223e-05/1.145, allocations: 11.98 kB / 1.214 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/1.145, allocations: 8 kB / 1.214 GB, free: 7.516 MB / 0.9356 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 0.0001183/1.146, allocations: 129.7 kB / 1.214 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/1.146, allocations: 19.8 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.388e-05/1.146, allocations: 12.72 kB / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/1.146, allocations: 4 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.146, allocations: 4 kB / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/1.146, allocations: 0 / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/1.146, allocations: 241.5 kB / 1.214 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/1.146, allocations: 0 / 1.214 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/1.146, allocations: 19.98 kB / 1.214 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.146, allocations: 3.984 kB / 1.214 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/1.146, allocations: 0 / 1.214 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/1.146, allocations: 7.938 kB / 1.214 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.146, allocations: 0 / 1.214 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/1.147, allocations: 239.2 kB / 1.214 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/1.147, allocations: 88.95 kB / 1.214 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/1.147, allocations: 0 / 1.214 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/1.147, allocations: 15.98 kB / 1.214 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.421e-05/1.147, allocations: 15.98 kB / 1.214 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/1.147, allocations: 7.984 kB / 1.214 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.36e-05/1.147, allocations: 112.9 kB / 1.214 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.147, allocations: 0 / 1.214 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002545/1.147, allocations: 27.84 kB / 1.214 GB, free: 6.484 MB / 0.9356 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 0.0001502/1.147, allocations: 111.2 kB / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003674/1.148, allocations: 112.6 kB / 1.215 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.148, allocations: 4 kB / 1.215 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/1.148, allocations: 60.17 kB / 1.215 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/1.148, allocations: 20.16 kB / 1.215 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000567/1.149, allocations: 264.9 kB / 1.215 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/1.149, allocations: 0.7162 MB / 1.216 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.583e-05/1.149, allocations: 17.08 kB / 1.216 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/1.149, allocations: 23.42 kB / 1.216 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/1.149, allocations: 0 / 1.216 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of Templates: time 0.00416/1.154, allocations: 1.283 MB / 1.217 GB, free: 3.879 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches