Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001809/0.001809, allocations: 110.7 kB / 16.42 MB, free: 6.469 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.002348/0.002348, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.483/2.483, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9057/0.907, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.00226/0.9093, allocations: 0.9982 MB / 1.168 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.9105, allocations: 0.9752 MB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.716e-05/0.9106, allocations: 0 / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.631e-05/0.9107, allocations: 15.8 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.9108, allocations: 27.75 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.911, allocations: 59.86 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.9112, allocations: 159.7 kB / 1.17 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.9114, allocations: 92.09 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.9116, allocations: 67.72 kB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.9117, allocations: 71.62 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.9117, allocations: 20 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.519e-05/0.9117, allocations: 16 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.596e-05/0.9118, allocations: 35.91 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.877e-05/0.9118, allocations: 75.59 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.9121, allocations: 203 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.9121, allocations: 0 / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9121, allocations: 0 / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.9121, allocations: 0 / 1.17 GB, free: 1.031 MB / 0.8887 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.0006598/0.9128, allocations: 449.1 kB / 1.171 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.9128, allocations: 8.922 kB / 1.171 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.9129, allocations: 16.75 kB / 1.171 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.9133, allocations: 256.2 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.9133, allocations: 12.66 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.9134, allocations: 16.38 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.9137, allocations: 137 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.9137, allocations: 4.188 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.9137, allocations: 7.938 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.9137, allocations: 4 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003465/0.9141, allocations: 116.8 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006466/0.9147, allocations: 464.1 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.915, allocations: 110.6 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.9152, allocations: 56.75 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.9152, allocations: 4 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.9153, allocations: 30.56 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.9153, allocations: 4 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0005788/0.9159, allocations: 165.4 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.9159, allocations: 51.41 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.916, allocations: 152.5 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.9161, allocations: 29.64 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.9161, allocations: 123.8 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.9162, allocations: 31.56 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.9162, allocations: 33.7 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.9164, allocations: 330.8 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.9165, allocations: 47.89 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.9167, allocations: 65.03 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.917, allocations: 111.3 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.917, allocations: 0 / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003532/0.9173, allocations: 161.7 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.9174, allocations: 8 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.9174, allocations: 0 / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.9174, allocations: 0 / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.9176, allocations: 23.98 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.9176, allocations: 7.922 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.6e-05/0.9177, allocations: 11.94 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.9177, allocations: 16.08 kB / 1.173 GB, free: 13.78 MB / 0.9044 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.0001037/0.9178, allocations: 125.8 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.9179, allocations: 11.81 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.087e-05/0.9179, allocations: 16.72 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.9179, allocations: 0 / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9179, allocations: 0 / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.918, allocations: 89 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.918, allocations: 0 / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.9181, allocations: 19.94 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.9182, allocations: 15.97 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004181/0.9186, allocations: 220.8 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003826/0.919, allocations: 306.6 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001551/0.9192, allocations: 47.97 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.627e-05/0.9193, allocations: 113.4 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of Backend: time 5.41e-07/0.9193, allocations: 0 / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000521/0.9198, allocations: 150.5 kB / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006856/0.9205, allocations: 0.7045 MB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of Templates: time 0.004191/0.9247, allocations: 1.376 MB / 1.176 GB, free: 10.55 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches