Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001734/0.001734, allocations: 116.3 kB / 16.37 MB, free: 6.012 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.001801/0.001801, allocations: 191.2 kB / 17.31 MB, free: 5.613 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.54/2.54, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 66.78 kB / 0.8774 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3151, allocations: 153 MB / 1.027 GB, free: 2.004 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002746/0.3179, allocations: 1.44 MB / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.3193, allocations: 1.092 MB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.3194, allocations: 12 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.999e-05/0.3195, allocations: 35.53 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.3197, allocations: 35.55 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.32, allocations: 123.9 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003049/0.3203, allocations: 336.6 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003447/0.3206, allocations: 218 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.3208, allocations: 143.4 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.321, allocations: 147.2 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.218e-05/0.3211, allocations: 40 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4e-05/0.3211, allocations: 36 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.084e-05/0.3212, allocations: 83.75 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.3213, allocations: 163.1 kB / 1.031 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004193/0.3218, allocations: 486.2 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3218, allocations: 4 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3218, allocations: 0 / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.3218, allocations: 0 / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0008832/0.3227, allocations: 0.5813 MB / 1.032 GB, free: 13 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3227, allocations: 8.031 kB / 1.032 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.686e-05/0.3228, allocations: 40.47 kB / 1.032 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005158/0.3233, allocations: 326 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.3234, allocations: 29.38 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.3234, allocations: 28.38 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005025/0.3239, allocations: 295.1 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3239, allocations: 192 / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.324, allocations: 15.94 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.324, allocations: 8 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004983/0.3245, allocations: 239.8 kB / 1.033 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.3256, allocations: 0.8172 MB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004713/0.3261, allocations: 247.4 kB / 1.034 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.3263, allocations: 121.9 kB / 1.034 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.3264, allocations: 240 / 1.034 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.3264, allocations: 38.8 kB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=27): time 9.72e-07/0.3264, allocations: 0 / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27): time 0.0007331/0.3271, allocations: 320.7 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.3272, allocations: 55.41 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.3274, allocations: 207.5 kB / 1.034 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.3274, allocations: 33.7 kB / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.3275, allocations: 184.1 kB / 1.034 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.3276, allocations: 74.84 kB / 1.035 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.723e-05/0.3277, allocations: 69.97 kB / 1.035 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3278, allocations: 334.8 kB / 1.035 GB, free: 9.391 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.328, allocations: 76.52 kB / 1.035 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.3282, allocations: 143.9 kB / 1.035 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003893/0.3286, allocations: 222.7 kB / 1.035 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3286, allocations: 0 / 1.035 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005068/0.3291, allocations: 277.1 kB / 1.036 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3292, allocations: 4 kB / 1.036 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3292, allocations: 4.219 kB / 1.036 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.3292, allocations: 11.94 kB / 1.036 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.3295, allocations: 47.91 kB / 1.036 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.3295, allocations: 7.984 kB / 1.036 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.3296, allocations: 23.84 kB / 1.036 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.3296, allocations: 15.98 kB / 1.036 GB, free: 8.52 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.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 (34): * Single equations (assignments): 34 * 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.0001928/0.3298, allocations: 145.8 kB / 1.036 GB, free: 8.367 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.855e-05/0.3299, allocations: 27.72 kB / 1.036 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005113/0.3304, allocations: 256.5 kB / 1.036 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.3304, allocations: 11.88 kB / 1.036 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3304, allocations: 0 / 1.036 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3305, allocations: 0 / 1.036 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003496/0.3308, allocations: 353.3 kB / 1.037 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3308, allocations: 0 / 1.037 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.331, allocations: 39.97 kB / 1.037 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.331, allocations: 0 / 1.037 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.331, allocations: 8 kB / 1.037 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.331, allocations: 3.938 kB / 1.037 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3311, allocations: 3.938 kB / 1.037 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/0.3315, allocations: 331.2 kB / 1.037 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.3316, allocations: 100.8 kB / 1.037 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.3316, allocations: 4 kB / 1.037 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.3318, allocations: 19.92 kB / 1.037 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-05/0.3319, allocations: 23.91 kB / 1.037 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.3319, allocations: 12 kB / 1.037 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001028/0.332, allocations: 141.5 kB / 1.037 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.332, allocations: 0 / 1.037 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003013/0.3323, allocations: 59.69 kB / 1.037 GB, free: 6.914 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.0001478/0.3325, allocations: 116.9 kB / 1.037 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004835/0.333, allocations: 216.2 kB / 1.038 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.333, allocations: 4 kB / 1.038 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.3332, allocations: 116.8 kB / 1.038 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.3335, allocations: 25.31 kB / 1.038 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008157/0.3343, allocations: 485.6 kB / 1.038 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.3347, allocations: 0.7636 MB / 1.039 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001203/0.3348, allocations: 34.28 kB / 1.039 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.3349, allocations: 27.44 kB / 1.039 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3349, allocations: 0 / 1.039 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of Templates: time 0.005078/0.3399, allocations: 1.881 MB / 1.041 GB, free: 3.25 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches