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.001091/0.001091, allocations: 108.2 kB / 15.99 MB, free: 5.895 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.001269/0.001269, allocations: 193.4 kB / 16.91 MB, free: 5.746 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.441/1.441, allocations: 222.9 MB / 240.6 MB, free: 4.488 MB / 190.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.745/2.745, allocations: 437 MB / 0.7107 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 67.89 kB / 0.8695 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6804/0.6817, allocations: 151.6 MB / 1.018 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002297/0.6841, allocations: 1.067 MB / 1.019 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.6852, allocations: 0.9635 MB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.27e-05/0.6853, allocations: 4 kB / 1.02 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.265e-05/0.6853, allocations: 15.86 kB / 1.02 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.894e-05/0.6854, allocations: 3.938 kB / 1.02 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.6856, allocations: 63.88 kB / 1.02 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.6858, allocations: 155.6 kB / 1.02 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.686, allocations: 84.19 kB / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.6861, allocations: 67.77 kB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.87e-05/0.6862, allocations: 75.62 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.6863, allocations: 16 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.588e-05/0.6863, allocations: 16 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.767e-05/0.6864, allocations: 39.83 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.359e-05/0.6864, allocations: 63.67 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.6866, allocations: 165.7 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.6867, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6867, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.6867, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.7794 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.0006663/0.6873, allocations: 449.1 kB / 1.021 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.6874, allocations: 8.031 kB / 1.021 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.6874, allocations: 16.75 kB / 1.021 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.6879, allocations: 252.3 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.6879, allocations: 12.66 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.6879, allocations: 12.38 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.6882, allocations: 140.4 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.6882, allocations: 192 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.6883, allocations: 11.94 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.6883, allocations: 7.984 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/0.6886, allocations: 116.7 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006249/0.6892, allocations: 468.1 kB / 1.022 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.6895, allocations: 114.5 kB / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.6897, allocations: 52.83 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.6897, allocations: 7.984 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.6897, allocations: 30.56 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.6897, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005083/0.6902, allocations: 169.4 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.6903, allocations: 55.41 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.6904, allocations: 157.5 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.6905, allocations: 29.64 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.6905, allocations: 119.8 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.6906, allocations: 27.56 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/0.6906, allocations: 41.69 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6908, allocations: 330.8 kB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.6909, allocations: 43.91 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.6911, allocations: 71.39 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.6914, allocations: 107.7 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.6914, allocations: 0 / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003354/0.6917, allocations: 149.4 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.6917, allocations: 8.094 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.6918, allocations: 4 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.6918, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.6919, allocations: 27.97 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.692, allocations: 3.938 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.6921, allocations: 23.83 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.6921, allocations: 4 kB / 1.023 GB, free: 12.64 MB / 0.7794 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 9.961e-05/0.6922, allocations: 126.3 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.6922, allocations: 11.91 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.6923, allocations: 16.72 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.6923, allocations: 3.984 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6923, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.6923, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.6925, allocations: 237.4 kB / 1.024 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.6926, allocations: 0 / 1.024 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.6927, allocations: 27.91 kB / 1.024 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.6927, allocations: 0 / 1.024 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.6927, allocations: 4 kB / 1.024 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.6927, allocations: 8 kB / 1.024 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6927, allocations: 3.938 kB / 1.024 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.6931, allocations: 219.3 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.6931, allocations: 85.02 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.6932, allocations: 0 / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.6933, allocations: 15.98 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.6933, allocations: 15.98 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.6934, allocations: 7.984 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.35e-05/0.6934, allocations: 111.2 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6934, allocations: 0 / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002499/0.6937, allocations: 23.84 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001391/0.6938, allocations: 121.2 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003521/0.6942, allocations: 115.8 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.6942, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.6944, allocations: 55.91 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.6947, allocations: 12 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/0.6953, allocations: 338.6 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.6956, allocations: 0.7162 MB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.6956, allocations: 15.44 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.6956, allocations: 0 / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of Templates: time 0.003025/0.6987, allocations: 1.645 MB / 1.027 GB, free: 8.582 MB / 0.7794 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