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.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.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.001606/0.001607, allocations: 104.3 kB / 16.36 MB, free: 6.289 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.001735/0.001735, allocations: 192 kB / 17.29 MB, free: 5.863 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.17 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.345/2.345, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 62.23 kB / 0.8141 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3474, allocations: 140.4 MB / 0.9512 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002748/0.3502, allocations: 1.008 MB / 0.9521 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.3515, allocations: 0.9791 MB / 0.9531 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.3516, allocations: 4 kB / 0.9531 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.2e-05/0.3517, allocations: 15.8 kB / 0.9531 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.3518, allocations: 19.73 kB / 0.9531 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.3521, allocations: 63.86 kB / 0.9532 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.3523, allocations: 155.7 kB / 0.9533 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000236/0.3526, allocations: 76.2 kB / 0.9534 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.3528, allocations: 79.7 kB / 0.9535 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.3529, allocations: 67.62 kB / 0.9536 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.3529, allocations: 16 kB / 0.9536 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.83e-05/0.353, allocations: 20 kB / 0.9536 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.353, allocations: 39.89 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.981e-05/0.3531, allocations: 67.61 kB / 0.9537 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.3534, allocations: 203.1 kB / 0.9539 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3534, allocations: 0 / 0.9539 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3534, allocations: 4 kB / 0.9539 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.3534, allocations: 3.984 kB / 0.9539 GB, free: 5.227 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.000791/0.3542, allocations: 443.1 kB / 0.9543 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3543, allocations: 12.03 kB / 0.9543 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.604e-05/0.3543, allocations: 16.75 kB / 0.9543 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005029/0.3548, allocations: 252.3 kB / 0.9546 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.3549, allocations: 8.656 kB / 0.9546 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.3549, allocations: 16.38 kB / 0.9546 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.3553, allocations: 147.9 kB / 0.9548 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.3553, allocations: 0 / 0.9548 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.3553, allocations: 4 kB / 0.9548 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3553, allocations: 4 kB / 0.9548 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003258/0.3557, allocations: 116.8 kB / 0.9549 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007505/0.3564, allocations: 476 kB / 0.9553 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.3567, allocations: 110.5 kB / 0.9554 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.3568, allocations: 56.77 kB / 0.9555 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.3569, allocations: 0 / 0.9555 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.3569, allocations: 34.56 kB / 0.9555 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.3569, allocations: 0 / 0.9555 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0005417/0.3575, allocations: 169.4 kB / 0.9557 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.3575, allocations: 55.41 kB / 0.9557 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.3577, allocations: 156.6 kB / 0.9559 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.3577, allocations: 29.64 kB / 0.9559 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.3578, allocations: 115.8 kB / 0.956 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.3578, allocations: 27.56 kB / 0.956 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.3579, allocations: 37.69 kB / 0.9561 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.358, allocations: 326.8 kB / 0.9564 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.3582, allocations: 43.95 kB / 0.9564 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.3583, allocations: 74.22 kB / 0.9565 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.3586, allocations: 107.3 kB / 0.9566 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3586, allocations: 0 / 0.9566 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003614/0.359, allocations: 149.4 kB / 0.9568 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.359, allocations: 5.875 kB / 0.9568 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.359, allocations: 8.094 kB / 0.9568 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.359, allocations: 0 / 0.9568 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.3592, allocations: 35.91 kB / 0.9568 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.3593, allocations: 0 / 0.9568 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.3594, allocations: 19.83 kB / 0.9568 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.3594, allocations: 11.94 kB / 0.9568 GB, free: 1.98 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.0001258/0.3595, allocations: 130.5 kB / 0.957 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.462e-05/0.3596, allocations: 11.91 kB / 0.957 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.3596, allocations: 16.72 kB / 0.957 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3596, allocations: 0 / 0.957 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3596, allocations: 0 / 0.957 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3596, allocations: 3.984 kB / 0.957 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.3599, allocations: 237.4 kB / 0.9572 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3599, allocations: 0 / 0.9572 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.36, allocations: 23.97 kB / 0.9572 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3601, allocations: 0 / 0.9572 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.3601, allocations: 0 / 0.9572 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3601, allocations: 4 kB / 0.9572 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3601, allocations: 7.938 kB / 0.9572 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.3605, allocations: 227.3 kB / 0.9575 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.3605, allocations: 85.02 kB / 0.9575 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.3606, allocations: 0 / 0.9575 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.3607, allocations: 15.98 kB / 0.9576 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.3608, allocations: 15.98 kB / 0.9576 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.3608, allocations: 7.984 kB / 0.9576 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.918e-05/0.3609, allocations: 108.7 kB / 0.9577 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3609, allocations: 0 / 0.9577 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002542/0.3611, allocations: 27.84 kB / 0.9577 GB, free: 0.9883 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.0001225/0.3612, allocations: 107.9 kB / 0.9578 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003719/0.3616, allocations: 115.7 kB / 0.9579 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3616, allocations: 0 / 0.9579 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.3618, allocations: 59.89 kB / 0.958 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.3621, allocations: 21.75 kB / 0.958 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/0.3627, allocations: 264.9 kB / 0.9583 GB, free: 404 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.363, allocations: 0.7161 MB / 0.959 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.621e-05/0.3631, allocations: 16.64 kB / 0.959 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/0.3631, allocations: 15.44 kB / 0.959 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.3631, allocations: 0 / 0.959 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of Templates: time 0.003894/0.367, allocations: 1.218 MB / 0.9602 GB, free: 14.45 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 -s gbode -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