Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 116.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 194.1 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.545/2.545, allocations: 443.5 MB / 0.7293 GB, free: 14.49 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus") translateModel(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 71.91 kB / 1.057 GB, free: 1.953 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3222, allocations: 160.7 MB / 1.214 GB, free: 0.9258 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.0043/0.3265, allocations: 2.274 MB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002412/0.3289, allocations: 1.275 MB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/0.3292, allocations: 7.938 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005096/0.3297, allocations: 175.3 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004599/0.3302, allocations: 179.2 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006243/0.3308, allocations: 243.1 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005076/0.3313, allocations: 406.9 kB / 1.218 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.3315, allocations: 72.23 kB / 1.219 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002675/0.3318, allocations: 191.3 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.332, allocations: 187.2 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.799e-05/0.3321, allocations: 24 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.3322, allocations: 83.91 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.3324, allocations: 107.7 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.3326, allocations: 162.9 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005851/0.3332, allocations: 497.9 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3332, allocations: 4 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3332, allocations: 0 / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.3332, allocations: 0 / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001213/0.3344, allocations: 0.7348 MB / 1.22 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3344, allocations: 11.98 kB / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.813e-05/0.3345, allocations: 44.66 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000605/0.3351, allocations: 418.6 kB / 1.221 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.3352, allocations: 8.375 kB / 1.221 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.3352, allocations: 19.94 kB / 1.221 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.3356, allocations: 177.6 kB / 1.221 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3356, allocations: 3.984 kB / 1.221 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.3356, allocations: 8 kB / 1.221 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.3356, allocations: 4 kB / 1.221 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.3358, allocations: 91.89 kB / 1.221 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.337, allocations: 0.7816 MB / 1.222 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.3374, allocations: 137.4 kB / 1.222 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.3375, allocations: 41.7 kB / 1.222 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.3375, allocations: 8 kB / 1.222 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002586/0.3378, allocations: 133 kB / 1.222 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.3378, allocations: 3.938 kB / 1.222 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0005815/0.3384, allocations: 217.3 kB / 1.223 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/0.3384, allocations: 106.8 kB / 1.223 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006765/0.3391, allocations: 0.576 MB / 1.223 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.3391, allocations: 37.69 kB / 1.223 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.3393, allocations: 192.5 kB / 1.223 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.3394, allocations: 43.72 kB / 1.223 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.3395, allocations: 73.64 kB / 1.224 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3396, allocations: 354.7 kB / 1.224 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.3398, allocations: 104 kB / 1.224 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.3401, allocations: 174.6 kB / 1.224 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.3404, allocations: 188.5 kB / 1.224 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3404, allocations: 4 kB / 1.224 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005901/0.341, allocations: 344.1 kB / 1.225 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.341, allocations: 4 kB / 1.225 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.341, allocations: 0 / 1.225 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.3411, allocations: 8 kB / 1.225 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.3413, allocations: 51.91 kB / 1.225 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3413, allocations: 4 kB / 1.225 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.3415, allocations: 39.95 kB / 1.225 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.3415, allocations: 15.94 kB / 1.225 GB, free: 5.641 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.TTanBot.tab.nextTimeEvent,$whenCondition2,$PRE.TTanTop.tab.nextTimeEvent,$whenCondition1,TTanTop.tab.nextTimeEventScaled,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEvent,tanSta.hysCha.y,$PRE.tanSta.hysCha.y,TTanBot.tab.nextTimeEventScaled,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEvent,tanSta.hysEmp.y,$PRE.tanSta.hysEmp.y,tanSta.gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0002395/0.3418, allocations: 195.5 kB / 1.225 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.3418, allocations: 47.66 kB / 1.225 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.808e-05/0.3419, allocations: 39.38 kB / 1.225 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3419, allocations: 3.938 kB / 1.225 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/0.3419, allocations: 4 kB / 1.225 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3419, allocations: 7.984 kB / 1.225 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.3423, allocations: 329.4 kB / 1.225 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3423, allocations: 0 / 1.225 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.65e-05/0.3423, allocations: 8 kB / 1.225 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3423, allocations: 3.984 kB / 1.225 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.3424, allocations: 0 / 1.225 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.3424, allocations: 4 kB / 1.225 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3424, allocations: 0 / 1.225 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.3428, allocations: 225.5 kB / 1.226 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.3429, allocations: 124.8 kB / 1.226 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/0.3429, allocations: 0 / 1.226 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.343, allocations: 19.98 kB / 1.226 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.595e-05/0.3431, allocations: 19.97 kB / 1.226 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.3431, allocations: 7.984 kB / 1.226 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004198/0.3436, allocations: 359.1 kB / 1.226 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3436, allocations: 0 / 1.226 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003203/0.3439, allocations: 83.81 kB / 1.226 GB, free: 4.09 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,$whenCondition1,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled) * Number of discrete states: 6 (TTanTop.tab.nextTimeEventScaled,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001478/0.3453, allocations: 422.5 kB / 1.227 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004592/0.3458, allocations: 183.8 kB / 1.227 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3458, allocations: 0 / 1.227 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.346, allocations: 56.09 kB / 1.227 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004988/0.3464, allocations: 108.9 kB / 1.227 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.3475, allocations: 0.6475 MB / 1.228 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.3479, allocations: 0.8029 MB / 1.228 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.518e-05/0.348, allocations: 39.42 kB / 1.228 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.348, allocations: 0 / 1.228 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of Templates: time 0.008123/0.3561, allocations: 5.113 MB / 1.233 GB, free: 12.86 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Cooling_Controls_Validation_TankStatus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.446505493018776]