Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.008868/0.008868, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001958/0.001958, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.518/1.518, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.965/2.965, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.83 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4013, allocations: 157.4 MB / 1.208 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.003114/0.4045, allocations: 1.007 MB / 1.209 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.4062, allocations: 0.9796 MB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.4064, allocations: 0 / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.107e-05/0.4066, allocations: 19.8 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.4068, allocations: 31.72 kB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.4071, allocations: 59.88 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.4074, allocations: 160.1 kB / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.4076, allocations: 100.1 kB / 1.21 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.4078, allocations: 67.72 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.408, allocations: 79.66 kB / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.408, allocations: 16 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.825e-05/0.4081, allocations: 16 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.4081, allocations: 39.86 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.88e-05/0.4082, allocations: 71.59 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.4085, allocations: 215.2 kB / 1.211 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4085, allocations: 0 / 1.211 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.657e-06/0.4086, allocations: 0 / 1.211 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.4086, allocations: 3.938 kB / 1.211 GB, free: 6.746 MB / 0.9669 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.0008524/0.4094, allocations: 450.9 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.4095, allocations: 8.625 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/0.4096, allocations: 20.66 kB / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.41, allocations: 254.6 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.4101, allocations: 8.375 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.4101, allocations: 20.38 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.4105, allocations: 150.5 kB / 1.211 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.4105, allocations: 192 / 1.211 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.4105, allocations: 11.94 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.4105, allocations: 4 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.4109, allocations: 119.8 kB / 1.212 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006895/0.4116, allocations: 480.1 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/0.4119, allocations: 126.5 kB / 1.212 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.4121, allocations: 56.77 kB / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.4121, allocations: 0 / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.4121, allocations: 38.56 kB / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.4121, allocations: 0 / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0005855/0.4127, allocations: 165.5 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.4128, allocations: 51.41 kB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.4129, allocations: 158.3 kB / 1.213 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.413, allocations: 29.7 kB / 1.213 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.4131, allocations: 128.1 kB / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.4132, allocations: 31.55 kB / 1.213 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.066e-05/0.4133, allocations: 37.7 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4134, allocations: 330.7 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.4136, allocations: 43.97 kB / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.4138, allocations: 75.39 kB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.4141, allocations: 107.7 kB / 1.213 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.4142, allocations: 8 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004357/0.4146, allocations: 153.3 kB / 1.213 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.4146, allocations: 4 kB / 1.213 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4147, allocations: 0 / 1.213 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.4147, allocations: 4 kB / 1.213 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.4149, allocations: 31.91 kB / 1.214 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.4149, allocations: 8.094 kB / 1.214 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.415, allocations: 11.94 kB / 1.214 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.4151, allocations: 11.97 kB / 1.214 GB, free: 3.418 MB / 0.9669 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.0001391/0.4152, allocations: 131.8 kB / 1.214 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.4152, allocations: 11.81 kB / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.05e-05/0.4153, allocations: 16.72 kB / 1.214 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.4153, allocations: 3.984 kB / 1.214 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4153, allocations: 0 / 1.214 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.4153, allocations: 7.984 kB / 1.214 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.4156, allocations: 233.5 kB / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.4156, allocations: 0 / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.4158, allocations: 23.91 kB / 1.214 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.4158, allocations: 8 kB / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.4158, allocations: 4 kB / 1.214 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4158, allocations: 0 / 1.214 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4159, allocations: 0 / 1.214 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.4163, allocations: 239.2 kB / 1.214 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-05/0.4164, allocations: 88.95 kB / 1.214 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.4164, allocations: 0 / 1.214 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.4165, allocations: 15.98 kB / 1.214 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.812e-05/0.4166, allocations: 19.91 kB / 1.214 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.4167, allocations: 4 kB / 1.214 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.764e-05/0.4168, allocations: 117.4 kB / 1.214 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4168, allocations: 0 / 1.214 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002708/0.417, allocations: 27.91 kB / 1.214 GB, free: 2.391 MB / 0.9669 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.0001746/0.4172, allocations: 107.2 kB / 1.215 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003997/0.4176, allocations: 115.8 kB / 1.215 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4176, allocations: 4.188 kB / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.4178, allocations: 59.91 kB / 1.215 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.4182, allocations: 15.98 kB / 1.215 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006982/0.4189, allocations: 272.9 kB / 1.215 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.4193, allocations: 0.7162 MB / 1.216 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.57e-05/0.4194, allocations: 17.08 kB / 1.216 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.4195, allocations: 15.44 kB / 1.216 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.4195, allocations: 0 / 1.216 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of Templates: time 0.004754/0.4242, allocations: 1.251 MB / 1.217 GB, free: 15.82 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches