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.001412/0.001412, allocations: 106.9 kB / 15.99 MB, free: 6.348 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.001818/0.001818, allocations: 199.8 kB / 16.91 MB, free: 6.188 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.416/1.416, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.318/2.318, allocations: 390.2 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 69.2 kB / 0.8127 GB, free: 33.18 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.322, allocations: 140.4 MB / 0.9498 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002835/0.3248, allocations: 1.065 MB / 0.9509 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.3262, allocations: 0.9596 MB / 0.9518 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.3263, allocations: 4 kB / 0.9518 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.747e-05/0.3264, allocations: 11.86 kB / 0.9518 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.3266, allocations: 7.922 kB / 0.9518 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.3268, allocations: 59.89 kB / 0.9519 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.327, allocations: 155.7 kB / 0.952 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.3273, allocations: 88.16 kB / 0.9521 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.3275, allocations: 71.66 kB / 0.9522 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.3276, allocations: 71.67 kB / 0.9523 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.3276, allocations: 16 kB / 0.9523 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.555e-05/0.3277, allocations: 16 kB / 0.9523 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.228e-05/0.3277, allocations: 35.91 kB / 0.9523 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.005e-05/0.3278, allocations: 71.61 kB / 0.9524 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.328, allocations: 155.9 kB / 0.9525 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.328, allocations: 0 / 0.9525 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.563e-06/0.328, allocations: 0 / 0.9525 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.328, allocations: 0 / 0.9525 GB, free: 6.402 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.000677/0.3287, allocations: 451.1 kB / 0.953 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.3288, allocations: 8.031 kB / 0.953 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.3288, allocations: 16.75 kB / 0.953 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.3293, allocations: 256.3 kB / 0.9532 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.3293, allocations: 12.59 kB / 0.9532 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.3293, allocations: 12.38 kB / 0.9533 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.3297, allocations: 148 kB / 0.9534 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3297, allocations: 0 / 0.9534 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.3297, allocations: 4 kB / 0.9534 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3297, allocations: 8 kB / 0.9534 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003431/0.3301, allocations: 116.7 kB / 0.9535 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007225/0.3308, allocations: 480 kB / 0.954 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.3311, allocations: 106.6 kB / 0.9541 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.3313, allocations: 48.83 kB / 0.9541 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.3313, allocations: 4 kB / 0.9541 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.3313, allocations: 38.5 kB / 0.9542 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.3314, allocations: 0 / 0.9542 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0005363/0.3319, allocations: 165.5 kB / 0.9543 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.3319, allocations: 51.41 kB / 0.9544 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.3321, allocations: 152.2 kB / 0.9545 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.3321, allocations: 37.64 kB / 0.9546 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.3322, allocations: 119.8 kB / 0.9547 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.3322, allocations: 27.56 kB / 0.9547 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/0.3323, allocations: 37.69 kB / 0.9547 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3324, allocations: 330.8 kB / 0.955 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.3326, allocations: 39.97 kB / 0.9551 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.3327, allocations: 71.41 kB / 0.9552 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.333, allocations: 107.8 kB / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.3331, allocations: 8 kB / 0.9553 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003602/0.3334, allocations: 149.3 kB / 0.9554 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3335, allocations: 10.5 kB / 0.9554 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3335, allocations: 0 / 0.9554 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3335, allocations: 0 / 0.9554 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.3337, allocations: 31.91 kB / 0.9554 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3337, allocations: 0 / 0.9554 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.3338, allocations: 23.92 kB / 0.9555 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.3338, allocations: 7.938 kB / 0.9555 GB, free: 3.145 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.000106/0.3339, allocations: 127.2 kB / 0.9556 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.334, allocations: 7.906 kB / 0.9556 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.334, allocations: 16.72 kB / 0.9556 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.334, allocations: 0 / 0.9556 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.334, allocations: 3.984 kB / 0.9556 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.334, allocations: 8 kB / 0.9556 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.3343, allocations: 233.4 kB / 0.9559 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3343, allocations: 7.938 kB / 0.9559 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.3345, allocations: 23.91 kB / 0.9559 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3345, allocations: 0 / 0.9559 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.3345, allocations: 4 kB / 0.9559 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3345, allocations: 0 / 0.9559 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3345, allocations: 0 / 0.9559 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.3349, allocations: 231.3 kB / 0.9561 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.335, allocations: 85.02 kB / 0.9562 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.335, allocations: 0 / 0.9562 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.3351, allocations: 11.98 kB / 0.9562 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.3352, allocations: 15.98 kB / 0.9562 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.3352, allocations: 7.984 kB / 0.9562 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.688e-05/0.3353, allocations: 115.6 kB / 0.9563 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3353, allocations: 4 kB / 0.9563 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002838/0.3356, allocations: 31.84 kB / 0.9564 GB, free: 2.141 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.0001304/0.3358, allocations: 103.2 kB / 0.9565 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003717/0.3361, allocations: 111.8 kB / 0.9566 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3361, allocations: 4.188 kB / 0.9566 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.3363, allocations: 59.89 kB / 0.9566 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.3367, allocations: 12 kB / 0.9566 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006081/0.3373, allocations: 330.4 kB / 0.957 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.3376, allocations: 0.7161 MB / 0.9577 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.125e-05/0.3377, allocations: 19.44 kB / 0.9577 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/0.3377, allocations: 0 / 0.9577 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of Templates: time 0.003558/0.3413, allocations: 1.653 MB / 0.9593 GB, free: 15.08 MB / 0.7481 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