Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002525/0.002525, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002933/0.002933, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.568/1.568, allocations: 177.1 MB / 203.1 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.356/3.356, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|makUpWat.watLev|makUpWat.watLevMin|makUpWat.watLevMax|makUpWat.yMakUp",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel") translateModel(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|makUpWat.watLev|makUpWat.watLevMin|makUpWat.watLevMax|makUpWat.yMakUp",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.806e-06/2.806e-06, allocations: 0 / 0.8775 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.218e-05/4.499e-05, allocations: 7.672 kB / 0.8775 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel): time 0.003744/0.003789, allocations: 0.8729 MB / 0.8783 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002275/0.006065, allocations: 0.9194 MB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.006205, allocations: 1.125 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.006373, allocations: 16.47 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.74e-05/0.006461, allocations: 13.03 kB / 0.8793 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.006788, allocations: 43.84 kB / 0.8793 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.007026, allocations: 95.77 kB / 0.8794 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.007201, allocations: 36.94 kB / 0.8794 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.007469, allocations: 63.81 kB / 0.8795 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.007586, allocations: 27.91 kB / 0.8795 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.007625, allocations: 8.781 kB / 0.8795 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.259e-05/0.007707, allocations: 12 kB / 0.8795 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.00776, allocations: 29.5 kB / 0.8796 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.412e-05/0.007814, allocations: 19.94 kB / 0.8796 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.008173, allocations: 139.5 kB / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.008178, allocations: 0 / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.503e-06/0.00818, allocations: 1.625 kB / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.008188, allocations: 0 / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009407/0.009129, allocations: 435.9 kB / 0.8801 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.009187, allocations: 8.031 kB / 0.8801 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002824/0.009469, allocations: 29.94 kB / 0.8802 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000549/0.01002, allocations: 169.6 kB / 0.8803 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.01004, allocations: 8.375 kB / 0.8803 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.01008, allocations: 8.375 kB / 0.8803 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.01045, allocations: 124.9 kB / 0.8805 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.01046, allocations: 4.188 kB / 0.8805 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.01048, allocations: 8.312 kB / 0.8805 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.0105, allocations: 7.25 kB / 0.8805 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.01072, allocations: 43.97 kB / 0.8805 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.01182, allocations: 0.5055 MB / 0.881 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.01197, allocations: 35.05 kB / 0.8811 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.902e-05/0.01205, allocations: 23.84 kB / 0.8811 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.01207, allocations: 3.938 kB / 0.8811 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.211e-05/0.01213, allocations: 34.8 kB / 0.8811 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.01213, allocations: 0 / 0.8811 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003842/0.01251, allocations: 61.62 kB / 0.8812 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.01257, allocations: 51.94 kB / 0.8812 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.0129, allocations: 221.1 kB / 0.8814 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.01294, allocations: 25.7 kB / 0.8815 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.01312, allocations: 166.6 kB / 0.8816 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.01314, allocations: 8.453 kB / 0.8816 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.695e-05/0.01324, allocations: 39.48 kB / 0.8817 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004223/0.01366, allocations: 0.5 MB / 0.8821 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.853e-05/0.01374, allocations: 11.94 kB / 0.8822 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.01391, allocations: 88.12 kB / 0.8822 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.01408, allocations: 62.67 kB / 0.8823 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01409, allocations: 0 / 0.8823 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002846/0.01437, allocations: 77.67 kB / 0.8824 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.0144, allocations: 10.34 kB / 0.8824 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.01441, allocations: 0 / 0.8824 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.01443, allocations: 0 / 0.8824 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.917e-05/0.01452, allocations: 11.98 kB / 0.8824 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.01454, allocations: 3.938 kB / 0.8824 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.01464, allocations: 20.02 kB / 0.8824 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.01465, allocations: 4 kB / 0.8824 GB, free: 1.336 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (makUpWat.hys.y,$PRE.makUpWat.hys.y,makUpWat.greEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0002037/0.01485, allocations: 160.6 kB / 0.8826 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.493e-05/0.01491, allocations: 7.984 kB / 0.8826 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.479e-05/0.01495, allocations: 15.98 kB / 0.8826 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.01496, allocations: 4 kB / 0.8826 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.01496, allocations: 0 / 0.8826 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.01497, allocations: 0 / 0.8826 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003444/0.01531, allocations: 160.4 kB / 0.8828 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01531, allocations: 0 / 0.8828 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.01536, allocations: 0 / 0.8828 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.896e-06/0.01536, allocations: 4 kB / 0.8828 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.01537, allocations: 0 / 0.8828 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.01538, allocations: 0 / 0.8828 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.01538, allocations: 0 / 0.8828 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.01571, allocations: 207.8 kB / 0.883 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.01574, allocations: 7.953 kB / 0.883 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.01577, allocations: 4 kB / 0.883 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.01588, allocations: 0 / 0.883 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.01594, allocations: 7.984 kB / 0.883 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.01595, allocations: 0 / 0.883 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002065/0.01616, allocations: 157.4 kB / 0.8831 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/0.01616, allocations: 3.938 kB / 0.8831 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004412/0.0166, allocations: 11.95 kB / 0.8831 GB, free: 0.5352 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (makUpWat.hys.y) * Number of discrete states: 1 (makUpWat.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000192/0.01679, allocations: 107.2 kB / 0.8832 GB, free: 428 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.01702, allocations: 43.61 kB / 0.8833 GB, free: 380 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01702, allocations: 0 / 0.8833 GB, free: 380 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.761e-05/0.01712, allocations: 15.69 kB / 0.8833 GB, free: 360 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.01755, allocations: 11.98 kB / 0.8833 GB, free: 348 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.01811, allocations: 166.4 kB / 0.8835 GB, free: 152 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.01826, allocations: 89.55 kB / 0.8836 GB, free: 36 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.705e-05/0.01834, allocations: 8.484 kB / 0.8836 GB, free: 28 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/0.0184, allocations: 12.5 kB / 0.8836 GB, free: 16 kB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/0.0184, allocations: 4 kB / 0.8836 GB, free: 12 kB / 0.8386 GB Notification: Performance of Templates: time 0.005028/0.02342, allocations: 0.838 MB / 0.8844 GB, free: 15.21 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_Towers_Validation_WaterLevel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.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: 8.457740213023499]