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.001514/0.001514, allocations: 112.3 kB / 16.42 MB, free: 6.516 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.001661/0.001662, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.734/2.734, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001363, allocations: 67.89 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 157.4 MB / 1.208 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002259/1.028, allocations: 1.013 MB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00142/1.03, allocations: 0.9752 MB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/1.03, allocations: 4 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.437e-05/1.03, allocations: 11.81 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001365/1.03, allocations: 27.72 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/1.03, allocations: 63.88 kB / 1.211 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001855/1.03, allocations: 164.1 kB / 1.211 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/1.031, allocations: 92.16 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/1.031, allocations: 71.64 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/1.031, allocations: 75.67 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/1.031, allocations: 20 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.807e-05/1.031, allocations: 20 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/1.031, allocations: 35.86 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.871e-05/1.031, allocations: 71.59 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/1.031, allocations: 209.1 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/1.031, allocations: 0 / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.675e-06/1.031, allocations: 0 / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.841e-06/1.031, allocations: 0 / 1.211 GB, free: 10.94 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.0006834/1.032, allocations: 456.8 kB / 1.212 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.032, allocations: 12.03 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/1.032, allocations: 20.75 kB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/1.033, allocations: 255.9 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/1.033, allocations: 12.38 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/1.033, allocations: 16.38 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/1.033, allocations: 146 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/1.033, allocations: 4.188 kB / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/1.033, allocations: 7.938 kB / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/1.033, allocations: 7.984 kB / 1.212 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/1.033, allocations: 115.9 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000662/1.034, allocations: 472.1 kB / 1.213 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/1.034, allocations: 134.5 kB / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/1.035, allocations: 48.83 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/1.035, allocations: 0 / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/1.035, allocations: 34.56 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/1.035, allocations: 3.938 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0006123/1.035, allocations: 173.5 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/1.035, allocations: 55.41 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/1.035, allocations: 150.3 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/1.035, allocations: 29.7 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/1.036, allocations: 128.1 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/1.036, allocations: 35.56 kB / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.44e-05/1.036, allocations: 37.64 kB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.036, allocations: 330.8 kB / 1.214 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/1.036, allocations: 43.95 kB / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/1.036, allocations: 67.41 kB / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/1.037, allocations: 111.3 kB / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.037, allocations: 4 kB / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000394/1.037, allocations: 161.7 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/1.037, allocations: 4 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.037, allocations: 0 / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/1.037, allocations: 4 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/1.037, allocations: 27.91 kB / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/1.037, allocations: 8 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.594e-05/1.037, allocations: 15.92 kB / 1.214 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/1.037, allocations: 8.094 kB / 1.214 GB, free: 7.605 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.0001263/1.037, allocations: 133.8 kB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/1.038, allocations: 11.81 kB / 1.214 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.586e-05/1.038, allocations: 16.72 kB / 1.214 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/1.038, allocations: 3.984 kB / 1.214 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.038, allocations: 0 / 1.214 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/1.038, allocations: 88.95 kB / 1.214 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/1.038, allocations: 0 / 1.214 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/1.038, allocations: 19.92 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.218e-05/1.038, allocations: 15.98 kB / 1.215 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000439/1.038, allocations: 224.7 kB / 1.215 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003887/1.039, allocations: 302.7 kB / 1.215 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001548/1.039, allocations: 51.95 kB / 1.215 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.438e-05/1.039, allocations: 125.6 kB / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of Backend: time 2.284e-06/1.039, allocations: 0 / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005707/1.04, allocations: 150.5 kB / 1.215 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0008774/1.04, allocations: 0.6932 MB / 1.216 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of Templates: time 0.004577/1.045, allocations: 1.41 MB / 1.217 GB, free: 4.316 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/jenkins1/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