Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 111.1 kB / 16.41 MB, free: 6.52 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.001408/0.001408, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.417/1.417, 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 10.1.1-maint.10.0.x/package.mo): time 2.646/2.646, allocations: 437 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 59.91 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083/1.085, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.003145/1.088, allocations: 0.9989 MB / 1.168 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00177/1.09, allocations: 0.9752 MB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/1.09, allocations: 0 / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 7.909e-05/1.09, allocations: 15.8 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002033/1.09, allocations: 31.73 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/1.091, allocations: 51.94 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002487/1.091, allocations: 155.7 kB / 1.17 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000306/1.091, allocations: 92.17 kB / 1.17 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/1.092, allocations: 75.64 kB / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/1.092, allocations: 75.61 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/1.092, allocations: 16 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.054e-05/1.092, allocations: 16 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.92e-05/1.092, allocations: 31.92 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.478e-05/1.092, allocations: 75.59 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003281/1.092, allocations: 211.6 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/1.092, allocations: 0 / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.053e-06/1.092, allocations: 0 / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.174e-06/1.092, allocations: 0 / 1.17 GB, free: 0.9961 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.0009103/1.093, allocations: 455 kB / 1.171 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 7.089e-05/1.093, allocations: 8.922 kB / 1.171 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.4e-05/1.093, allocations: 16.84 kB / 1.171 GB, free: 484 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005726/1.094, allocations: 254.1 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/1.094, allocations: 12.66 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/1.094, allocations: 12.38 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/1.094, allocations: 141 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/1.094, allocations: 192 / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/1.094, allocations: 11.94 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/1.095, allocations: 4 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004172/1.095, allocations: 112.8 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009614/1.096, allocations: 472.1 kB / 1.172 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/1.096, allocations: 114.5 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/1.096, allocations: 56.83 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/1.096, allocations: 0 / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.004e-05/1.097, allocations: 34.55 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 5.249e-06/1.097, allocations: 3.984 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0006136/1.097, allocations: 169.5 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/1.097, allocations: 55.34 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/1.097, allocations: 151.5 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/1.097, allocations: 29.7 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.238e-05/1.098, allocations: 119.9 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/1.098, allocations: 39.72 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-05/1.098, allocations: 33.7 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002253/1.098, allocations: 326.8 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/1.098, allocations: 47.97 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/1.098, allocations: 68.64 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/1.099, allocations: 115.7 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/1.099, allocations: 0 / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004065/1.099, allocations: 145.4 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/1.099, allocations: 8 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.099, allocations: 4.094 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/1.099, allocations: 0 / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/1.099, allocations: 27.98 kB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/1.099, allocations: 0 / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/1.099, allocations: 15.94 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/1.099, allocations: 4 kB / 1.173 GB, free: 13.74 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.0001208/1.1, allocations: 137.7 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/1.1, allocations: 11.95 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/1.1, allocations: 12.72 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/1.1, allocations: 0 / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.1, allocations: 0 / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.5e-05/1.1, allocations: 96.95 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/1.1, allocations: 3.984 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/1.1, allocations: 11.94 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.188e-05/1.1, allocations: 15.97 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005077/1.1, allocations: 220.8 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000461/1.101, allocations: 294.7 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001916/1.101, allocations: 55.95 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.251e-05/1.101, allocations: 117.1 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of Backend: time 7.61e-07/1.101, allocations: 0 / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000607/1.102, allocations: 154.2 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009263/1.103, allocations: 0.681 MB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of Templates: time 0.005508/1.108, allocations: 1.386 MB / 1.176 GB, free: 10.51 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches