Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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_latest_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_latest_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.001651/0.001651, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002468/0.002468, allocations: 196.5 kB / 16.53 MB, free: 6.656 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.625/1.625, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.16/3.16, allocations: 472.7 MB / 0.7451 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 64.59 kB / 0.9121 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.409, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002394/0.4115, allocations: 0.9984 MB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.4126, allocations: 0.983 MB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.462e-05/0.4127, allocations: 0 / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.151e-05/0.4127, allocations: 19.73 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.4129, allocations: 15.81 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.4131, allocations: 67.86 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.4132, allocations: 164.1 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.4135, allocations: 92.16 kB / 1.071 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.4136, allocations: 71.72 kB / 1.071 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.4137, allocations: 71.62 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.4137, allocations: 20 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.574e-05/0.4138, allocations: 16 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.944e-05/0.4138, allocations: 39.89 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.649e-05/0.4139, allocations: 75.55 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.4141, allocations: 203.5 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4141, allocations: 4 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4141, allocations: 0 / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.4141, allocations: 3.938 kB / 1.071 GB, free: 7.562 MB / 0.8262 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.0006302/0.4148, allocations: 446.9 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.4148, allocations: 8.031 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.4149, allocations: 16.75 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004332/0.4153, allocations: 258.4 kB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.4153, allocations: 8.375 kB / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.4154, allocations: 16.38 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.4157, allocations: 150 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.4157, allocations: 4.125 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.4157, allocations: 7.938 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.4157, allocations: 4 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.4161, allocations: 119.9 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006339/0.4167, allocations: 496 kB / 1.073 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.417, allocations: 118.6 kB / 1.073 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.4172, allocations: 60.81 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.4172, allocations: 0 / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.4172, allocations: 34.5 kB / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.4172, allocations: 4 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0005294/0.4178, allocations: 173.4 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.4178, allocations: 51.41 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.4179, allocations: 157.9 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.418, allocations: 25.7 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.418, allocations: 124.2 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.4181, allocations: 31.55 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/0.4181, allocations: 45.69 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.4183, allocations: 322.8 kB / 1.074 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.4184, allocations: 43.97 kB / 1.074 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.4186, allocations: 79.33 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.4189, allocations: 103.3 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4189, allocations: 0 / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003679/0.4192, allocations: 157.3 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4193, allocations: 8 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.4193, allocations: 3.984 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.4193, allocations: 0 / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.4195, allocations: 27.98 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.4195, allocations: 0 / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.353e-05/0.4196, allocations: 19.95 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.4196, allocations: 8 kB / 1.074 GB, free: 4.242 MB / 0.8262 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.0001027/0.4197, allocations: 135.2 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.4198, allocations: 15.81 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.836e-05/0.4198, allocations: 16.7 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4198, allocations: 4 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4198, allocations: 0 / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4198, allocations: 3.938 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.42, allocations: 229.5 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4201, allocations: 4 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.4202, allocations: 19.98 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.4202, allocations: 0 / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.4202, allocations: 11.92 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4202, allocations: 4 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4202, allocations: 0 / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.4206, allocations: 239.7 kB / 1.075 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.4207, allocations: 88.95 kB / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.4207, allocations: 0 / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.4208, allocations: 7.984 kB / 1.075 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.034e-05/0.4209, allocations: 19.98 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.4209, allocations: 11.94 kB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.472e-05/0.421, allocations: 113.8 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.421, allocations: 0 / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002448/0.4212, allocations: 31.91 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001294/0.4214, allocations: 111.7 kB / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003664/0.4217, allocations: 115.9 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4217, allocations: 0 / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.4219, allocations: 64.08 kB / 1.075 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.4222, allocations: 18.03 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/0.4228, allocations: 268.9 kB / 1.076 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.4231, allocations: 0.7123 MB / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.275e-05/0.4232, allocations: 17.08 kB / 1.076 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.351e-05/0.4233, allocations: 23.42 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4233, allocations: 3.938 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of Templates: time 0.004223/0.4275, allocations: 1.235 MB / 1.077 GB, free: 0.6445 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches