Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.009857/0.009857, allocations: 96.39 kB / 15.73 MB, free: 6.484 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.001575/0.001575, allocations: 192.3 kB / 16.67 MB, free: 6.391 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.53/1.53, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.95/2.95, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 71.83 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4044, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002439/0.4069, allocations: 1.004 MB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.4083, allocations: 0.9713 MB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.929e-05/0.4083, allocations: 0 / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.586e-05/0.4084, allocations: 15.8 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.4086, allocations: 27.73 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.4088, allocations: 67.94 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.409, allocations: 151.7 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.4092, allocations: 88.16 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.4094, allocations: 63.72 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.4095, allocations: 79.61 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.4095, allocations: 16 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.658e-05/0.4096, allocations: 23.94 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.449e-05/0.4096, allocations: 27.92 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.732e-05/0.4097, allocations: 75.59 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.41, allocations: 203.1 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.41, allocations: 0 / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.673e-06/0.41, allocations: 3.938 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.41, allocations: 0 / 1.169 GB, free: 3.992 MB / 0.92 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.0007158/0.4107, allocations: 455 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.4108, allocations: 12.03 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.384e-05/0.4108, allocations: 16.84 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.4113, allocations: 256.3 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.4113, allocations: 8.656 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.4113, allocations: 12.38 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.4116, allocations: 140.4 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4117, allocations: 192 / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.4117, allocations: 11.94 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.4117, allocations: 4 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.412, allocations: 112.7 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006905/0.4127, allocations: 472.2 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.413, allocations: 110.5 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.4132, allocations: 52.88 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.4132, allocations: 0 / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.4133, allocations: 42.5 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 9.42e-07/0.4133, allocations: 0 / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0005352/0.4138, allocations: 165.4 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.4138, allocations: 51.41 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.414, allocations: 164.8 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.414, allocations: 25.7 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.4141, allocations: 131.8 kB / 1.172 GB, free: 1.59 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.4142, allocations: 31.73 kB / 1.172 GB, free: 1.559 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/0.4142, allocations: 41.7 kB / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4143, allocations: 322.8 kB / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.4145, allocations: 43.95 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.4147, allocations: 67.41 kB / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.415, allocations: 107.3 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.415, allocations: 0 / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003467/0.4153, allocations: 157.4 kB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.4154, allocations: 4 kB / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4154, allocations: 0 / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.4154, allocations: 4 kB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.4156, allocations: 23.98 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.4156, allocations: 7.984 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.739e-05/0.4157, allocations: 19.89 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.4157, allocations: 7.984 kB / 1.172 GB, free: 0.7227 MB / 0.92 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.0001215/0.4158, allocations: 135.9 kB / 1.172 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.4159, allocations: 7.953 kB / 1.172 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/0.4159, allocations: 16.72 kB / 1.172 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4159, allocations: 0 / 1.172 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4159, allocations: 0 / 1.172 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4159, allocations: 0 / 1.172 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.4162, allocations: 233.5 kB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.4162, allocations: 0 / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.4163, allocations: 23.98 kB / 1.173 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4164, allocations: 3.984 kB / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.4164, allocations: 4 kB / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4164, allocations: 0 / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4164, allocations: 0 / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.4168, allocations: 231.2 kB / 1.173 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.515e-05/0.4169, allocations: 96.95 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.4169, allocations: 4 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.417, allocations: 7.984 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.079e-05/0.4171, allocations: 15.98 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.4171, allocations: 0 / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.961e-05/0.4172, allocations: 119.2 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4172, allocations: 0 / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002586/0.4175, allocations: 19.95 kB / 1.173 GB, free: 15.73 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: 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.0001585/0.4176, allocations: 111.2 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003775/0.418, allocations: 108.5 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.418, allocations: 3.938 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.4182, allocations: 64.11 kB / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.4186, allocations: 21.83 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006152/0.4192, allocations: 274.7 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.4195, allocations: 0.7123 MB / 1.174 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.343e-05/0.4196, allocations: 24.58 kB / 1.174 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.4197, allocations: 19.44 kB / 1.175 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.4197, allocations: 0 / 1.175 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of Templates: time 0.004175/0.4239, allocations: 1.233 MB / 1.176 GB, free: 13.16 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches