Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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.0008656/0.0008656, allocations: 92.7 kB / 20.2 MB, free: 4.227 MB / 18.57 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.000854/0.000854, allocations: 165.3 kB / 23.52 MB, free: 0.9141 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 0.9351/0.9351, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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 2.025/2.025, allocations: 428.6 MB / 0.6727 GB, free: 4.926 MB / 0.6355 GB " [Timeout remaining time 177] 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.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.086e-06/3.086e-06, allocations: 4 kB / 0.877 GB, free: 7.941 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.247e-05, allocations: 2.312 kB / 0.877 GB, free: 7.938 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001198/0.00123, allocations: 0.6165 MB / 0.8776 GB, free: 7.344 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001421/0.001373, allocations: 15.88 kB / 0.8776 GB, free: 7.328 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.877e-05/0.001421, allocations: 0.5 kB / 0.8777 GB, free: 7.328 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.932e-05/0.001511, allocations: 3.984 kB / 0.8777 GB, free: 7.324 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.563e-05/0.001546, allocations: 5.906 kB / 0.8777 GB, free: 7.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.263e-05/0.001619, allocations: 8 kB / 0.8777 GB, free: 7.312 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.108e-05/0.0017, allocations: 19.81 kB / 0.8777 GB, free: 7.297 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.001819, allocations: 24.56 kB / 0.8777 GB, free: 7.273 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.326e-05/0.001852, allocations: 17.95 kB / 0.8777 GB, free: 7.258 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.953e-05/0.001882, allocations: 17.41 kB / 0.8777 GB, free: 7.242 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.001899, allocations: 1.578 kB / 0.8777 GB, free: 7.242 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-06/0.001909, allocations: 4 kB / 0.8777 GB, free: 7.238 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.109e-05/0.00194, allocations: 13.73 kB / 0.8778 GB, free: 7.227 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.001965, allocations: 9.094 kB / 0.8778 GB, free: 7.219 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.181e-05/0.002057, allocations: 47.86 kB / 0.8778 GB, free: 7.172 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.113e-06/0.002059, allocations: 0 / 0.8778 GB, free: 7.172 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.52e-07/0.00206, allocations: 1 kB / 0.8778 GB, free: 7.172 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.002064, allocations: 0 / 0.8778 GB, free: 7.172 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002767/0.00234, allocations: 279.2 kB / 0.8781 GB, free: 6.867 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.002374, allocations: 12.03 kB / 0.8781 GB, free: 6.855 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.002414, allocations: 8.938 kB / 0.8781 GB, free: 6.848 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.002587, allocations: 126.7 kB / 0.8782 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.002594, allocations: 8.375 kB / 0.8782 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.002605, allocations: 4.375 kB / 0.8782 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.002732, allocations: 75.27 kB / 0.8783 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.002738, allocations: 192 / 0.8783 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.002748, allocations: 4.375 kB / 0.8783 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.002753, allocations: 5.094 kB / 0.8783 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.697e-05/0.00281, allocations: 51.89 kB / 0.8784 GB, free: 6.551 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.003146, allocations: 412.5 kB / 0.8788 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.256e-05/0.003209, allocations: 169.1 kB / 0.8789 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.577e-05/0.003234, allocations: 84.08 kB / 0.879 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.003251, allocations: 79.28 kB / 0.8791 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.003283, allocations: 107.4 kB / 0.8792 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.003283, allocations: 0 / 0.8792 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.813e-05/0.003341, allocations: 33.66 kB / 0.8792 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.003383, allocations: 126.7 kB / 0.8793 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.00349, allocations: 126.8 kB / 0.8795 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.003498, allocations: 25.7 kB / 0.8795 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.003544, allocations: 101.2 kB / 0.8796 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.003546, allocations: 0 / 0.8796 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.003572, allocations: 21.64 kB / 0.8796 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.863e-05/0.003651, allocations: 324.3 kB / 0.8799 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.003664, allocations: 7.984 kB / 0.8799 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.178e-06/0.003673, allocations: 4 kB / 0.8799 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.431e-05/0.003707, allocations: 20.09 kB / 0.8799 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.003709, allocations: 0 / 0.8799 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.606e-05/0.003805, allocations: 49.69 kB / 0.88 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.003817, allocations: 4 kB / 0.88 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.003821, allocations: 0 / 0.88 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.003832, allocations: 0 / 0.88 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.299e-05/0.003885, allocations: 7.984 kB / 0.88 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.00389, allocations: 3.938 kB / 0.88 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.575e-05/0.003905, allocations: 4 kB / 0.88 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.003915, allocations: 1.281 kB / 0.88 GB, free: 4.766 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (mulMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.751e-05/0.003992, allocations: 201 kB / 0.8802 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.00403, allocations: 109 kB / 0.8803 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.004065, allocations: 108.5 kB / 0.8804 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.152e-05/0.004106, allocations: 180.2 kB / 0.8806 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-05/0.004152, allocations: 188.8 kB / 0.8808 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.074e-05/0.004193, allocations: 180.2 kB / 0.8809 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.004335, allocations: 368.8 kB / 0.8813 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-05/0.004365, allocations: 105 kB / 0.8814 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.004388, allocations: 109.1 kB / 0.8815 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-05/0.004427, allocations: 180.2 kB / 0.8817 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.514e-05/0.004473, allocations: 192.2 kB / 0.8818 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-05/0.004511, allocations: 176.3 kB / 0.882 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.926e-05/0.00455, allocations: 188.1 kB / 0.8822 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.612e-05/0.004646, allocations: 307.8 kB / 0.8825 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.004677, allocations: 108.9 kB / 0.8826 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.004731, allocations: 180.3 kB / 0.8828 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.105e-05/0.004782, allocations: 104.9 kB / 0.8829 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.004836, allocations: 176.3 kB / 0.883 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.004861, allocations: 109 kB / 0.8831 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.405e-05/0.004905, allocations: 95.27 kB / 0.8832 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.004905, allocations: 4 kB / 0.8832 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001545/0.00506, allocations: 11.89 kB / 0.8832 GB, free: 1.273 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 9.709e-05/0.005157, allocations: 181.7 kB / 0.8834 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.612e-05/0.005223, allocations: 7.984 kB / 0.8834 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.005225, allocations: 0 / 0.8834 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.005226, allocations: 0 / 0.8834 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.005525, allocations: 467.6 kB / 0.8839 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000221/0.005746, allocations: 199.9 kB / 0.884 GB, free: 404 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.163e-05/0.005797, allocations: 71.33 kB / 0.8841 GB, free: 312 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.738e-05/0.005815, allocations: 4 kB / 0.8841 GB, free: 308 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.312e-05/0.005838, allocations: 16.5 kB / 0.8841 GB, free: 292 kB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/0.005838, allocations: 0 / 0.8841 GB, free: 292 kB / 0.8386 GB Notification: Performance of Templates: time 0.001741/0.00758, allocations: 313 kB / 0.8844 GB, free: 15.98 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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: 5.060414891690016]