Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.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.001365/0.001365, allocations: 88.72 kB / 19.44 MB, free: 356 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.001505/0.001505, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.466/1.466, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.253/3.253, allocations: 429.6 MB / 0.673 GB, free: 3.902 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.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMin.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMin.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.095e-06/3.095e-06, allocations: 0.7656 kB / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.539e-05/3.848e-05, allocations: 3.281 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.003463/0.003501, allocations: 0.6227 MB / 0.8782 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002156/0.003717, allocations: 20.88 kB / 0.8782 GB, free: 5.879 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.978e-05/0.003786, allocations: 5.094 kB / 0.8782 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.003903, allocations: 0 / 0.8782 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.394e-05/0.003937, allocations: 1.156 kB / 0.8782 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.501e-05/0.004012, allocations: 0 / 0.8782 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.004131, allocations: 30.11 kB / 0.8782 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.004286, allocations: 16.7 kB / 0.8783 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.445e-05/0.00435, allocations: 19.98 kB / 0.8783 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.508e-05/0.004406, allocations: 21.56 kB / 0.8783 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.004431, allocations: 4 kB / 0.8783 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.635e-05/0.004448, allocations: 7.938 kB / 0.8783 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.494e-05/0.004482, allocations: 0 / 0.8783 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.809e-05/0.004541, allocations: 15.94 kB / 0.8783 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.00469, allocations: 44.36 kB / 0.8784 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.004693, allocations: 1.75 kB / 0.8784 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.81e-07/0.004694, allocations: 0 / 0.8784 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.004699, allocations: 0 / 0.8784 GB, free: 5.723 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.0005755/0.005275, allocations: 282.2 kB / 0.8786 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.005326, allocations: 8.031 kB / 0.8786 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.414e-05/0.00539, allocations: 10.28 kB / 0.8787 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.005704, allocations: 125.7 kB / 0.8788 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.005719, allocations: 384 / 0.8788 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.005742, allocations: 13.91 kB / 0.8788 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.006001, allocations: 78.22 kB / 0.8789 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.006025, allocations: 192 / 0.8789 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.006039, allocations: 384 / 0.8789 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.006046, allocations: 2.406 kB / 0.8789 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.006191, allocations: 55.91 kB / 0.8789 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007367/0.006928, allocations: 410.9 kB / 0.8793 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.007103, allocations: 173.1 kB / 0.8795 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.884e-05/0.007171, allocations: 80.14 kB / 0.8795 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.496e-05/0.007226, allocations: 75.28 kB / 0.8796 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/0.007329, allocations: 116.3 kB / 0.8797 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.173e-06/0.00733, allocations: 0 / 0.8797 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001179/0.007448, allocations: 29.66 kB / 0.8798 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.007561, allocations: 126.7 kB / 0.8799 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.007776, allocations: 129.8 kB / 0.88 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.007801, allocations: 25.7 kB / 0.88 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.007916, allocations: 100.1 kB / 0.8801 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-06/0.00792, allocations: 3.938 kB / 0.8801 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-05/0.007984, allocations: 17.72 kB / 0.8801 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002465/0.00823, allocations: 318.8 kB / 0.8804 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.057e-05/0.008261, allocations: 8 kB / 0.8805 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.269e-05/0.008284, allocations: 11.98 kB / 0.8805 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.172e-05/0.008335, allocations: 16.8 kB / 0.8805 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.008337, allocations: 0 / 0.8805 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001971/0.008534, allocations: 49.67 kB / 0.8805 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.008554, allocations: 12.09 kB / 0.8805 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.008559, allocations: 0 / 0.8805 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.008582, allocations: 0 / 0.8805 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.866e-05/0.00865, allocations: 0 / 0.8805 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.008656, allocations: 4 kB / 0.8805 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.008691, allocations: 0 / 0.8805 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.008705, allocations: 4 kB / 0.8806 GB, free: 3.309 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 (mulMin.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.000209/0.008914, allocations: 197 kB / 0.8807 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.009052, allocations: 112.9 kB / 0.8808 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.732e-05/0.009149, allocations: 109.2 kB / 0.8809 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001394/0.009288, allocations: 188.2 kB / 0.8811 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001409/0.009429, allocations: 176.3 kB / 0.8813 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001372/0.009566, allocations: 176.3 kB / 0.8815 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.01002, allocations: 384.8 kB / 0.8818 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.998e-05/0.0101, allocations: 101 kB / 0.8819 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.085e-05/0.01019, allocations: 109.1 kB / 0.882 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001425/0.01033, allocations: 180.3 kB / 0.8822 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.01047, allocations: 180.3 kB / 0.8824 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001398/0.01061, allocations: 184.2 kB / 0.8826 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001511/0.01076, allocations: 180.3 kB / 0.8827 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.01104, allocations: 307.7 kB / 0.883 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.935e-05/0.01113, allocations: 112.9 kB / 0.8831 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.0113, allocations: 180.3 kB / 0.8833 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.01148, allocations: 109 kB / 0.8834 GB, free: 224 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.01163, allocations: 180.2 kB / 0.8836 GB, free: 36 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.01174, allocations: 101 kB / 0.8837 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001202/0.01186, allocations: 95.27 kB / 0.8838 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01186, allocations: 0 / 0.8838 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004409/0.0123, allocations: 15.83 kB / 0.8838 GB, free: 15.82 MB / 0.8542 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.0002343/0.01253, allocations: 174.5 kB / 0.8839 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.01264, allocations: 19.92 kB / 0.884 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.01264, allocations: 0 / 0.884 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.945e-06/0.01265, allocations: 0 / 0.884 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008614/0.01351, allocations: 467.6 kB / 0.8844 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.01398, allocations: 199.1 kB / 0.8846 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.01412, allocations: 79.17 kB / 0.8847 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.468e-05/0.01414, allocations: 0 / 0.8847 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.01418, allocations: 8.5 kB / 0.8847 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of SimCode: time 4.71e-07/0.01418, allocations: 0 / 0.8847 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of Templates: time 0.00384/0.01802, allocations: 322.2 kB / 0.885 GB, free: 14.54 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.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.165058705024421]