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.008565/0.008565, allocations: 106.3 kB / 15.74 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.001602/0.001602, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.556/1.556, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.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.688/2.688, allocations: 390.2 MB / 0.6648 GB, free: 128 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002075, allocations: 67.73 kB / 0.9509 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3903, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.00243/0.3928, allocations: 0.9936 MB / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.394, allocations: 0.9713 MB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.388e-05/0.3941, allocations: 4 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.276e-05/0.3942, allocations: 15.8 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.3943, allocations: 19.73 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.3945, allocations: 59.94 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.3948, allocations: 167.5 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.395, allocations: 92.17 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.3951, allocations: 63.72 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.3953, allocations: 75.67 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.3953, allocations: 16 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.277e-05/0.3953, allocations: 16 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.3954, allocations: 39.78 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.152e-05/0.3954, allocations: 67.66 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.3957, allocations: 203.2 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.3957, allocations: 8 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.016e-06/0.3957, allocations: 0 / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.3957, allocations: 3.938 kB / 1.091 GB, free: 14.66 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.0007223/0.3964, allocations: 439.2 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.3965, allocations: 12.03 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.3966, allocations: 20.75 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004688/0.397, allocations: 256.2 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.3971, allocations: 8.656 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.3971, allocations: 12.38 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.3974, allocations: 151.9 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3975, allocations: 0 / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.3975, allocations: 4 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.3975, allocations: 4 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003409/0.3978, allocations: 112.8 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007198/0.3986, allocations: 472 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.3989, allocations: 98.62 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.399, allocations: 52.89 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.3991, allocations: 4 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.3991, allocations: 30.56 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.3991, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005689/0.3997, allocations: 173.4 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.3997, allocations: 55.41 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.3999, allocations: 157.3 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.3999, allocations: 25.7 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.712e-05/0.4, allocations: 123.8 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.4, allocations: 31.55 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.135e-05/0.4001, allocations: 37.7 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.4003, allocations: 326.8 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.4004, allocations: 39.97 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.4006, allocations: 75.39 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.4009, allocations: 111.6 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4009, allocations: 3.938 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003581/0.4013, allocations: 153.3 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4013, allocations: 7.984 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4013, allocations: 8.094 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.4013, allocations: 0 / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.4015, allocations: 23.98 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.4015, allocations: 0 / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.957e-05/0.4016, allocations: 15.98 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.4016, allocations: 7.938 kB / 1.094 GB, free: 11.43 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.0001219/0.4018, allocations: 127.5 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.4018, allocations: 19.8 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.477e-05/0.4019, allocations: 20.7 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.4019, allocations: 0 / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4019, allocations: 3.938 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.4019, allocations: 0 / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.4022, allocations: 237.5 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4022, allocations: 0 / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.4023, allocations: 19.98 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4023, allocations: 0 / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.4023, allocations: 0 / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.4024, allocations: 15.98 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4024, allocations: 0 / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.4027, allocations: 227.3 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.591e-05/0.4028, allocations: 92.91 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.4028, allocations: 0 / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.403, allocations: 12 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.493e-05/0.403, allocations: 23.91 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.4031, allocations: 4 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.452e-05/0.4031, allocations: 114 kB / 1.094 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4031, allocations: 0 / 1.094 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002504/0.4034, allocations: 23.94 kB / 1.095 GB, free: 10.41 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.0002027/0.4036, allocations: 107.2 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003843/0.404, allocations: 107.9 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.404, allocations: 4 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.4042, allocations: 55.91 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.4046, allocations: 11.98 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006526/0.4052, allocations: 265.5 kB / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.4056, allocations: 0.7161 MB / 1.096 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.78e-05/0.4057, allocations: 16.64 kB / 1.096 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.4058, allocations: 23.36 kB / 1.096 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/0.4058, allocations: 0 / 1.096 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of Templates: time 0.004947/0.4107, allocations: 1.217 MB / 1.097 GB, free: 7.887 MB / 0.8575 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/jenkins/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