Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.00117/0.00117, allocations: 192 kB / 17.31 MB, free: 5.18 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.18 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.258/2.258, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 68.06 kB / 0.8141 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3019, allocations: 140.4 MB / 0.9512 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.00308/0.305, allocations: 1.43 MB / 0.9526 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.3066, allocations: 1.088 MB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.3068, allocations: 4 kB / 0.9536 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.3069, allocations: 39.53 kB / 0.9537 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.3071, allocations: 39.55 kB / 0.9537 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.3075, allocations: 123.8 kB / 0.9538 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.3078, allocations: 340.6 kB / 0.9542 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003724/0.3082, allocations: 210 kB / 0.9544 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.3084, allocations: 131.5 kB / 0.9545 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.3086, allocations: 151.2 kB / 0.9546 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.334e-05/0.3087, allocations: 36 kB / 0.9547 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.356e-05/0.3087, allocations: 40 kB / 0.9547 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.784e-05/0.3088, allocations: 79.75 kB / 0.9548 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.3089, allocations: 155.1 kB / 0.9549 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004534/0.3094, allocations: 474.2 kB / 0.9554 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3094, allocations: 4 kB / 0.9554 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3094, allocations: 4 kB / 0.9554 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.3094, allocations: 0 / 0.9554 GB, free: 3.648 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0008391/0.3103, allocations: 0.5731 MB / 0.9559 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3103, allocations: 12.03 kB / 0.956 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.399e-05/0.3104, allocations: 36.56 kB / 0.956 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/0.3109, allocations: 324.9 kB / 0.9563 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.3109, allocations: 33.03 kB / 0.9563 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.311, allocations: 32.31 kB / 0.9564 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005062/0.3115, allocations: 286.2 kB / 0.9566 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3115, allocations: 0 / 0.9566 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.3116, allocations: 16 kB / 0.9567 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.3116, allocations: 8 kB / 0.9567 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005078/0.3121, allocations: 238.4 kB / 0.9569 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.3132, allocations: 0.7958 MB / 0.9577 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004364/0.3137, allocations: 235.3 kB / 0.9579 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.3139, allocations: 112.8 kB / 0.958 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.3139, allocations: 8 kB / 0.958 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.314, allocations: 30.56 kB / 0.958 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/0.314, allocations: 0 / 0.958 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.0007211/0.3147, allocations: 307.6 kB / 0.9583 GB, free: 476 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.3148, allocations: 59.44 kB / 0.9584 GB, free: 404 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.315, allocations: 207.6 kB / 0.9586 GB, free: 188 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.315, allocations: 29.7 kB / 0.9586 GB, free: 152 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.3152, allocations: 180.3 kB / 0.9588 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.322e-05/0.3153, allocations: 74.91 kB / 0.9589 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.3154, allocations: 65.97 kB / 0.9589 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3156, allocations: 330.8 kB / 0.9592 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.3157, allocations: 80.52 kB / 0.9593 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.316, allocations: 135.9 kB / 0.9594 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/0.3164, allocations: 213.8 kB / 0.9596 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3164, allocations: 4 kB / 0.9596 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000491/0.3169, allocations: 269.1 kB / 0.9599 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3169, allocations: 8 kB / 0.9599 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3169, allocations: 7.938 kB / 0.9599 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.317, allocations: 4.219 kB / 0.9599 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.3172, allocations: 59.89 kB / 0.96 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.3172, allocations: 4 kB / 0.96 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.3174, allocations: 27.77 kB / 0.96 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.3174, allocations: 12 kB / 0.96 GB, free: 14.63 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.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 (33): * Single equations (assignments): 33 * 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.0001584/0.3176, allocations: 147 kB / 0.9602 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.3176, allocations: 23.72 kB / 0.9602 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005793/0.3182, allocations: 249.1 kB / 0.9604 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3182, allocations: 4 kB / 0.9604 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3182, allocations: 0 / 0.9604 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3182, allocations: 3.938 kB / 0.9604 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003931/0.3186, allocations: 353.3 kB / 0.9608 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3186, allocations: 0 / 0.9608 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.3188, allocations: 39.92 kB / 0.9608 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3188, allocations: 7.922 kB / 0.9608 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.3189, allocations: 11.94 kB / 0.9608 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3189, allocations: 0 / 0.9608 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3189, allocations: 0 / 0.9608 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004886/0.3194, allocations: 329.5 kB / 0.9611 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.202e-05/0.3195, allocations: 100.8 kB / 0.9612 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.3195, allocations: 7.938 kB / 0.9612 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.3196, allocations: 11.98 kB / 0.9613 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.743e-05/0.3197, allocations: 31.95 kB / 0.9613 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.3198, allocations: 4 kB / 0.9613 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000103/0.3199, allocations: 137.5 kB / 0.9614 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3199, allocations: 0 / 0.9614 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003121/0.3202, allocations: 59.69 kB / 0.9615 GB, free: 13.05 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0001621/0.3204, allocations: 120.2 kB / 0.9616 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005304/0.3209, allocations: 216.8 kB / 0.9618 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.3209, allocations: 0 / 0.9618 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.3211, allocations: 108.3 kB / 0.9619 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.3215, allocations: 29.61 kB / 0.9619 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008845/0.3224, allocations: 473.2 kB / 0.9624 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.3227, allocations: 0.7636 MB / 0.9631 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001141/0.3228, allocations: 34.28 kB / 0.9632 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/0.3229, allocations: 27.42 kB / 0.9632 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of SimCode: time 2.81e-07/0.3229, allocations: 3.938 kB / 0.9632 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of Templates: time 0.005176/0.3281, allocations: 1.849 MB / 0.965 GB, free: 9.43 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches