Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.00161/0.00161, allocations: 108.4 kB / 16.27 MB, free: 6.016 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.001878/0.001878, allocations: 191.7 kB / 17.2 MB, free: 5.625 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.459/1.459, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.314/2.314, allocations: 390.3 MB / 0.6653 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 68.27 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3277, allocations: 140.4 MB / 0.9503 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.003181/0.3309, allocations: 1.004 MB / 0.9513 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.3326, allocations: 0.9674 MB / 0.9522 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.3328, allocations: 0 / 0.9522 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.695e-05/0.3329, allocations: 19.73 kB / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.3331, allocations: 19.8 kB / 0.9523 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.3333, allocations: 67.88 kB / 0.9524 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.3336, allocations: 151.7 kB / 0.9525 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002651/0.3339, allocations: 84.17 kB / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.3341, allocations: 75.64 kB / 0.9526 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.3342, allocations: 71.67 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.579e-05/0.3343, allocations: 16 kB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.992e-05/0.3343, allocations: 24 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.252e-05/0.3344, allocations: 31.92 kB / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.876e-05/0.3345, allocations: 67.59 kB / 0.9528 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.3347, allocations: 203.5 kB / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.3347, allocations: 0 / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3348, allocations: 0 / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.3348, allocations: 0 / 0.953 GB, free: 6.047 MB / 0.7325 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.0008374/0.3356, allocations: 451.1 kB / 0.9535 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3357, allocations: 12.03 kB / 0.9535 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.938e-05/0.3357, allocations: 16.75 kB / 0.9535 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004762/0.3362, allocations: 240.4 kB / 0.9537 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.3363, allocations: 16.66 kB / 0.9537 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.3363, allocations: 12.38 kB / 0.9538 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003716/0.3367, allocations: 151.9 kB / 0.9539 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.3367, allocations: 0 / 0.9539 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.3367, allocations: 12 kB / 0.9539 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.3368, allocations: 7.938 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005145/0.3373, allocations: 108.8 kB / 0.954 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008836/0.3382, allocations: 483.9 kB / 0.9545 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.3385, allocations: 106.6 kB / 0.9546 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.3387, allocations: 44.83 kB / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.3387, allocations: 12 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.3387, allocations: 30.56 kB / 0.9547 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.3387, allocations: 0 / 0.9547 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0005796/0.3393, allocations: 169.4 kB / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.3394, allocations: 55.41 kB / 0.9549 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.3396, allocations: 156.4 kB / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.3396, allocations: 29.7 kB / 0.9551 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.781e-05/0.3397, allocations: 111.8 kB / 0.9552 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.3398, allocations: 39.53 kB / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.657e-05/0.3398, allocations: 33.7 kB / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.34, allocations: 326.8 kB / 0.9556 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.3402, allocations: 39.97 kB / 0.9556 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.3404, allocations: 71.39 kB / 0.9557 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.3407, allocations: 115.7 kB / 0.9558 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.3407, allocations: 4 kB / 0.9558 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003693/0.3411, allocations: 145.3 kB / 0.9559 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3411, allocations: 4 kB / 0.9559 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3411, allocations: 4 kB / 0.9559 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3411, allocations: 0 / 0.9559 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.3413, allocations: 28.08 kB / 0.9559 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.3413, allocations: 3.984 kB / 0.9559 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.3414, allocations: 23.83 kB / 0.956 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.3415, allocations: 7.938 kB / 0.956 GB, free: 2.793 MB / 0.7325 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.0001216/0.3416, allocations: 131.5 kB / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.3416, allocations: 11.89 kB / 0.9561 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.3417, allocations: 12.72 kB / 0.9561 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3417, allocations: 4 kB / 0.9561 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3417, allocations: 0 / 0.9561 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.3417, allocations: 0 / 0.9561 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.342, allocations: 241.3 kB / 0.9564 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.342, allocations: 0 / 0.9564 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.3421, allocations: 23.98 kB / 0.9564 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3421, allocations: 0 / 0.9564 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.3421, allocations: 0 / 0.9564 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3421, allocations: 4 kB / 0.9564 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.3421, allocations: 3.984 kB / 0.9564 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.3425, allocations: 223.3 kB / 0.9566 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.3426, allocations: 89 kB / 0.9567 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.3426, allocations: 8 kB / 0.9567 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.3427, allocations: 7.984 kB / 0.9567 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/0.3428, allocations: 19.92 kB / 0.9567 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.3428, allocations: 8 kB / 0.9567 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.172e-05/0.3429, allocations: 116.7 kB / 0.9568 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3429, allocations: 3.938 kB / 0.9568 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002584/0.3432, allocations: 27.84 kB / 0.9569 GB, free: 1.785 MB / 0.7325 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.0001477/0.3433, allocations: 107.2 kB / 0.957 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000387/0.3437, allocations: 116 kB / 0.9571 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3437, allocations: 3.938 kB / 0.9571 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.3439, allocations: 47.97 kB / 0.9571 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.3443, allocations: 15.98 kB / 0.9572 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006722/0.345, allocations: 290.3 kB / 0.9574 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.3453, allocations: 0.7161 MB / 0.9581 GB, free: 436 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.3453, allocations: 23.42 kB / 0.9582 GB, free: 412 kB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.3454, allocations: 4 kB / 0.9582 GB, free: 408 kB / 0.7325 GB Notification: Performance of Templates: time 0.003884/0.3492, allocations: 1.64 MB / 0.9598 GB, free: 14.77 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches