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.001396/0.001396, allocations: 114 kB / 16.42 MB, free: 6.402 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.001228/0.001228, allocations: 183.9 kB / 17.35 MB, free: 5.719 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.396/1.396, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.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.27/2.27, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 67.89 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9449/0.9463, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002388/0.9488, allocations: 1.005 MB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.95, allocations: 0.9594 MB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.343e-05/0.9501, allocations: 1.656 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.404e-05/0.9502, allocations: 19.08 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.9503, allocations: 32.12 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.9506, allocations: 61.94 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.9508, allocations: 153.2 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002672/0.9511, allocations: 89.5 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.9513, allocations: 73.72 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.9514, allocations: 74.33 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.9515, allocations: 16.62 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.397e-05/0.9515, allocations: 16.59 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.587e-05/0.9516, allocations: 34.89 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.209e-05/0.9517, allocations: 71.23 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.952, allocations: 204.5 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.952, allocations: 1.672 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.952, allocations: 0 / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.952, allocations: 0 / 1.091 GB, free: 3.668 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.0007005/0.9527, allocations: 450.3 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.9528, allocations: 9.141 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.9528, allocations: 17.12 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.9533, allocations: 250.9 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.9533, allocations: 11.09 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.9534, allocations: 16.31 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.9537, allocations: 150.8 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.9537, allocations: 0 / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.9538, allocations: 5.531 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.9538, allocations: 3.891 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/0.9542, allocations: 111.1 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007148/0.9549, allocations: 473.3 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.9552, allocations: 103.9 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.9554, allocations: 50.89 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.9554, allocations: 0.6562 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.9554, allocations: 36.84 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.9555, allocations: 0 / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005981/0.9561, allocations: 169.9 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.9561, allocations: 53.03 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.9562, allocations: 154.4 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.9563, allocations: 30.61 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.9563, allocations: 126.7 kB / 1.094 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.9564, allocations: 35.27 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.9565, allocations: 34.2 kB / 1.094 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.537e-05/0.9565, allocations: 325.4 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.9567, allocations: 43.98 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.9569, allocations: 71.97 kB / 1.094 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.9572, allocations: 103.2 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.9572, allocations: 4.875 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004082/0.9576, allocations: 159.5 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.9577, allocations: 5.891 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.9577, allocations: 1 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.9577, allocations: 2.469 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.9579, allocations: 28.05 kB / 1.094 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.9579, allocations: 2.031 kB / 1.094 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.958, allocations: 18.52 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.958, allocations: 4.234 kB / 1.094 GB, free: 1.426 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.0001078/0.9582, allocations: 134.8 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.9582, allocations: 13.16 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.338e-05/0.9582, allocations: 17.48 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.9583, allocations: 0.8906 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.9583, allocations: 0 / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.9583, allocations: 89.66 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.9583, allocations: 8.875 kB / 1.095 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.9585, allocations: 8.094 kB / 1.095 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.551e-05/0.9585, allocations: 16.19 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000448/0.959, allocations: 211.8 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004068/0.9594, allocations: 302.5 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001714/0.9596, allocations: 57.97 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.111e-05/0.9597, allocations: 106.5 kB / 1.095 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of Backend: time 1.91e-07/0.9597, allocations: 1.031 kB / 1.095 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006199/0.9603, allocations: 159.5 kB / 1.095 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0007469/0.9611, allocations: 0.6963 MB / 1.096 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of Templates: time 0.005499/0.9666, allocations: 1.367 MB / 1.097 GB, free: 15.84 MB / 0.8731 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/jenkins1/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