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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001467/0.001467, allocations: 106.6 kB / 16.35 MB, free: 5.824 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.001467/0.001467, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.682/1.682, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 62.64 kB / 0.8141 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3349, allocations: 140.4 MB / 0.9512 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002593/0.3376, allocations: 0.9935 MB / 0.9521 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3388, allocations: 0.9752 MB / 0.9531 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.529e-05/0.3389, allocations: 7.938 kB / 0.9531 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.148e-05/0.339, allocations: 15.8 kB / 0.9531 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.3391, allocations: 19.73 kB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.3393, allocations: 55.88 kB / 0.9532 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.3395, allocations: 159.7 kB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/0.3397, allocations: 88.17 kB / 0.9534 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.3399, allocations: 71.7 kB / 0.9535 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.34, allocations: 71.62 kB / 0.9536 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.525e-05/0.34, allocations: 16 kB / 0.9536 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.239e-05/0.34, allocations: 16 kB / 0.9536 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.18e-05/0.3401, allocations: 31.92 kB / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.608e-05/0.3402, allocations: 79.58 kB / 0.9537 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.3404, allocations: 203.1 kB / 0.9539 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3404, allocations: 0 / 0.9539 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3404, allocations: 0 / 0.9539 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.3404, allocations: 0 / 0.9539 GB, free: 5.215 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.0008295/0.3413, allocations: 451.1 kB / 0.9543 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3413, allocations: 8.031 kB / 0.9543 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.3414, allocations: 16.75 kB / 0.9544 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.3419, allocations: 254.4 kB / 0.9546 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.3419, allocations: 16.66 kB / 0.9546 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.3419, allocations: 12.38 kB / 0.9546 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004327/0.3424, allocations: 144 kB / 0.9548 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3424, allocations: 0 / 0.9548 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.3424, allocations: 4 kB / 0.9548 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3424, allocations: 4 kB / 0.9548 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003126/0.3427, allocations: 116.8 kB / 0.9549 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006603/0.3434, allocations: 475.9 kB / 0.9553 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.3437, allocations: 102.6 kB / 0.9554 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.3438, allocations: 56.88 kB / 0.9555 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.3438, allocations: 3.938 kB / 0.9555 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.3439, allocations: 34.56 kB / 0.9555 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.3439, allocations: 0 / 0.9555 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0005045/0.3444, allocations: 165.5 kB / 0.9557 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.3445, allocations: 51.41 kB / 0.9557 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.3446, allocations: 161.9 kB / 0.9559 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001453/0.3447, allocations: 29.64 kB / 0.9559 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/0.3448, allocations: 119.8 kB / 0.956 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.3449, allocations: 27.56 kB / 0.9561 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.288e-05/0.3449, allocations: 37.7 kB / 0.9561 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002311/0.3452, allocations: 326.7 kB / 0.9564 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.3453, allocations: 47.95 kB / 0.9564 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.3455, allocations: 71.34 kB / 0.9565 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.3458, allocations: 107.3 kB / 0.9566 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3458, allocations: 0 / 0.9566 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003309/0.3461, allocations: 149.4 kB / 0.9568 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3462, allocations: 4 kB / 0.9568 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3462, allocations: 4.094 kB / 0.9568 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.152e-05/0.3462, allocations: 4 kB / 0.9568 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.3464, allocations: 27.95 kB / 0.9568 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.3464, allocations: 11.92 kB / 0.9568 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.041e-05/0.3465, allocations: 15.84 kB / 0.9568 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.3465, allocations: 11.92 kB / 0.9568 GB, free: 1.965 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.0001078/0.3466, allocations: 125.8 kB / 0.957 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.3467, allocations: 11.91 kB / 0.957 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.3467, allocations: 12.72 kB / 0.957 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3467, allocations: 4 kB / 0.957 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3467, allocations: 0 / 0.957 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3467, allocations: 0 / 0.957 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003462/0.3471, allocations: 245.4 kB / 0.9572 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3471, allocations: 0 / 0.9572 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.3472, allocations: 23.92 kB / 0.9572 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3472, allocations: 3.984 kB / 0.9572 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.3472, allocations: 0 / 0.9572 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3473, allocations: 4 kB / 0.9572 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3473, allocations: 3.938 kB / 0.9572 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.3476, allocations: 227.3 kB / 0.9575 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.3477, allocations: 85.02 kB / 0.9575 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.3477, allocations: 0 / 0.9575 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3478, allocations: 11.98 kB / 0.9576 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/0.3479, allocations: 19.98 kB / 0.9576 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.3479, allocations: 0 / 0.9576 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.797e-05/0.348, allocations: 115.2 kB / 0.9577 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.348, allocations: 0 / 0.9577 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002454/0.3483, allocations: 27.84 kB / 0.9577 GB, free: 0.9688 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.0001429/0.3484, allocations: 113.1 kB / 0.9578 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003336/0.3487, allocations: 112.5 kB / 0.9579 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3487, allocations: 0 / 0.9579 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.3489, allocations: 64.11 kB / 0.958 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.3492, allocations: 11.94 kB / 0.958 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.3498, allocations: 268.8 kB / 0.9583 GB, free: 384 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.3501, allocations: 0.7161 MB / 0.959 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.683e-05/0.3502, allocations: 16.64 kB / 0.959 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.3503, allocations: 15.44 kB / 0.959 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of SimCode: time 3.3e-07/0.3503, allocations: 0 / 0.959 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of Templates: time 0.003987/0.3543, allocations: 1.225 MB / 0.9602 GB, free: 14.43 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 -s cvode -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