Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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.001954/0.001954, allocations: 102 kB / 18.93 MB, free: 2.957 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.0022/0.0022, allocations: 196.9 kB / 22.23 MB, free: 5.152 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.477/1.477, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.78/2.78, allocations: 476.7 MB / 0.7646 GB, free: 9.91 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_11_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_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 67.89 kB / 1.11 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8938/0.8959, allocations: 168.8 MB / 1.274 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001786/0.8976, allocations: 0.6239 MB / 1.275 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001183/0.8978, allocations: 11.92 kB / 1.275 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.8978, allocations: 0 / 1.275 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.169e-05/0.8979, allocations: 3.938 kB / 1.275 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.393e-05/0.8979, allocations: 4 kB / 1.275 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.236e-05/0.898, allocations: 4 kB / 1.275 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.232e-05/0.8981, allocations: 23.92 kB / 1.275 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.8982, allocations: 23.98 kB / 1.275 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.85e-05/0.8982, allocations: 11.94 kB / 1.275 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.587e-05/0.8982, allocations: 19.91 kB / 1.275 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.8983, allocations: 4 kB / 1.275 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.8983, allocations: 4 kB / 1.275 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.768e-05/0.8983, allocations: 8 kB / 1.275 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.8983, allocations: 19.86 kB / 1.275 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.649e-05/0.8984, allocations: 47.61 kB / 1.275 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.8984, allocations: 0 / 1.275 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8984, allocations: 0 / 1.275 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.8984, allocations: 7.938 kB / 1.275 GB, free: 3.422 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003517/0.8988, allocations: 272.8 kB / 1.275 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.8988, allocations: 8.031 kB / 1.275 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.8988, allocations: 8.891 kB / 1.275 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.8991, allocations: 134.3 kB / 1.276 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.8991, allocations: 4.375 kB / 1.276 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.8991, allocations: 4.375 kB / 1.276 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.8992, allocations: 78.22 kB / 1.276 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.8993, allocations: 192 / 1.276 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.8993, allocations: 7.938 kB / 1.276 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.8993, allocations: 4 kB / 1.276 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.97e-05/0.8993, allocations: 47.97 kB / 1.276 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.8999, allocations: 450.2 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.9, allocations: 177.1 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.489e-05/0.9, allocations: 88.14 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.9001, allocations: 75.28 kB / 1.276 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.884e-05/0.9001, allocations: 105.9 kB / 1.277 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.9001, allocations: 0 / 1.277 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.335e-05/0.9002, allocations: 37.69 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.9003, allocations: 126.7 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.9005, allocations: 176.1 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.9005, allocations: 25.81 kB / 1.277 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.9006, allocations: 104 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-06/0.9006, allocations: 0 / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.9006, allocations: 17.7 kB / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.9007, allocations: 318.8 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.9008, allocations: 11.98 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.245e-05/0.9008, allocations: 8 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.846e-05/0.9008, allocations: 16.91 kB / 1.277 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.9008, allocations: 0 / 1.277 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001232/0.9009, allocations: 49.69 kB / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.901, allocations: 4 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.901, allocations: 0 / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.901, allocations: 0 / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.503e-05/0.901, allocations: 4 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.901, allocations: 7.922 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.711e-05/0.9011, allocations: 11.89 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.9011, allocations: 0 / 1.277 GB, free: 0.9023 MB / 0.9669 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 0.0001388/0.9012, allocations: 201.1 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.954e-05/0.9013, allocations: 108.9 kB / 1.278 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.515e-05/0.9014, allocations: 104.8 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.534e-05/0.9014, allocations: 188.2 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.321e-05/0.9015, allocations: 192.1 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001029/0.9016, allocations: 184.2 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.9019, allocations: 388.3 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.968e-05/0.902, allocations: 106.6 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.425e-05/0.902, allocations: 104.9 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.152e-05/0.9021, allocations: 176.3 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.545e-05/0.9022, allocations: 188.2 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.664e-05/0.9023, allocations: 180.3 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.075e-05/0.9024, allocations: 180.2 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.9025, allocations: 307.8 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.9026, allocations: 120.9 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.9027, allocations: 184.3 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.927e-05/0.9028, allocations: 101 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.9029, allocations: 184.1 kB / 1.28 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.267e-05/0.903, allocations: 109.3 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001183/0.9031, allocations: 129.3 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9031, allocations: 3.938 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000232/0.9033, allocations: 4 kB / 1.281 GB, free: 13.33 MB / 0.9825 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 0.0001439/0.9035, allocations: 178.5 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.946e-05/0.9036, allocations: 11.94 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.9036, allocations: 0 / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.9036, allocations: 0 / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.904, allocations: 463.7 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.9043, allocations: 216.1 kB / 1.282 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.9047, allocations: 0.6846 MB / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.739e-05/0.9047, allocations: 8 kB / 1.282 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.9047, allocations: 7.438 kB / 1.282 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.9047, allocations: 0 / 1.282 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of Templates: time 0.002707/0.9075, allocations: 482.8 kB / 1.283 GB, free: 11.25 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.049644839949906]