Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.001381/0.001381, allocations: 92.7 kB / 19.44 MB, free: 320 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.001613/0.001613, allocations: 165.3 kB / 22.76 MB, free: 1.648 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.575/1.575, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.293/3.293, allocations: 429.6 MB / 0.673 GB, free: 3.852 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.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 0 / 0.8777 GB, free: 5.246 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/3.003e-05, allocations: 2.312 kB / 0.8777 GB, free: 5.242 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.00187/0.0019, allocations: 0.6541 MB / 0.8783 GB, free: 4.609 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001598/0.00206, allocations: 17.17 kB / 0.8783 GB, free: 4.594 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.103e-05/0.002101, allocations: 0.5469 kB / 0.8783 GB, free: 4.594 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.002217, allocations: 8.797 kB / 0.8783 GB, free: 4.586 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.591e-05/0.002253, allocations: 0.9375 kB / 0.8783 GB, free: 4.586 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 6.519e-05/0.002318, allocations: 4 kB / 0.8783 GB, free: 4.582 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.079e-05/0.002409, allocations: 25.55 kB / 0.8783 GB, free: 4.562 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.002533, allocations: 23.92 kB / 0.8784 GB, free: 4.539 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.157e-05/0.002585, allocations: 26.5 kB / 0.8784 GB, free: 4.516 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.08e-05/0.002626, allocations: 20.14 kB / 0.8784 GB, free: 4.496 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.002645, allocations: 0 / 0.8784 GB, free: 4.496 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.336e-05/0.002658, allocations: 5.875 kB / 0.8784 GB, free: 4.492 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.099e-05/0.002689, allocations: 4 kB / 0.8784 GB, free: 4.488 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.002727, allocations: 11.94 kB / 0.8784 GB, free: 4.477 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.00284, allocations: 51.8 kB / 0.8785 GB, free: 4.426 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.002842, allocations: 0 / 0.8785 GB, free: 4.426 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.51e-07/0.002843, allocations: 1.344 kB / 0.8785 GB, free: 4.426 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.002848, allocations: 0 / 0.8785 GB, free: 4.426 MB / 0.7917 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.0003901/0.003238, allocations: 278.2 kB / 0.8788 GB, free: 4.121 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.003272, allocations: 8.969 kB / 0.8788 GB, free: 4.113 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.003319, allocations: 8.938 kB / 0.8788 GB, free: 4.105 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.003607, allocations: 117.8 kB / 0.8789 GB, free: 3.965 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.003618, allocations: 1.031 kB / 0.8789 GB, free: 3.965 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.003635, allocations: 12.36 kB / 0.8789 GB, free: 3.953 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.0038, allocations: 77.86 kB / 0.879 GB, free: 3.875 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.003811, allocations: 8.125 kB / 0.879 GB, free: 3.867 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.00382, allocations: 384 / 0.879 GB, free: 3.867 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.003824, allocations: 384 / 0.879 GB, free: 3.867 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.858e-05/0.003912, allocations: 51.91 kB / 0.879 GB, free: 3.816 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.004419, allocations: 418.8 kB / 0.8794 GB, free: 3.375 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.004533, allocations: 173.1 kB / 0.8796 GB, free: 3.195 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.536e-05/0.004588, allocations: 80.14 kB / 0.8797 GB, free: 3.113 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.004628, allocations: 75.28 kB / 0.8797 GB, free: 3.039 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.708e-05/0.004695, allocations: 107.8 kB / 0.8798 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.004696, allocations: 0 / 0.8798 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 8.357e-05/0.004779, allocations: 37.59 kB / 0.8799 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/0.004861, allocations: 126.7 kB / 0.88 GB, free: 2.746 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.004996, allocations: 121.8 kB / 0.8801 GB, free: 2.617 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.005017, allocations: 30.67 kB / 0.8801 GB, free: 2.582 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 8.363e-05/0.005101, allocations: 99.97 kB / 0.8802 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.005103, allocations: 4 kB / 0.8802 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.005137, allocations: 14.81 kB / 0.8803 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.005304, allocations: 318.8 kB / 0.8806 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.005326, allocations: 7.984 kB / 0.8806 GB, free: 2.129 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.508e-05/0.005341, allocations: 9.125 kB / 0.8806 GB, free: 2.121 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.572e-05/0.005377, allocations: 12.84 kB / 0.8806 GB, free: 2.105 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.005378, allocations: 1.094 kB / 0.8806 GB, free: 2.105 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001481/0.005526, allocations: 53.62 kB / 0.8806 GB, free: 2.047 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.005542, allocations: 8.469 kB / 0.8806 GB, free: 2.043 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.005546, allocations: 0 / 0.8806 GB, free: 2.043 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.005565, allocations: 112 / 0.8806 GB, free: 2.043 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.632e-05/0.005621, allocations: 11.92 kB / 0.8807 GB, free: 2.031 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.005626, allocations: 0 / 0.8807 GB, free: 2.031 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.492e-05/0.005651, allocations: 8 kB / 0.8807 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.005661, allocations: 0 / 0.8807 GB, free: 2.023 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * 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 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.0001418/0.005802, allocations: 203.1 kB / 0.8809 GB, free: 1.816 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.281e-05/0.005885, allocations: 108.9 kB / 0.881 GB, free: 1.703 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.117e-05/0.005956, allocations: 108.5 kB / 0.8811 GB, free: 1.59 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.681e-05/0.006053, allocations: 184.2 kB / 0.8812 GB, free: 1.402 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001031/0.006156, allocations: 185 kB / 0.8814 GB, free: 1.215 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.526e-05/0.006252, allocations: 181 kB / 0.8816 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.006543, allocations: 368.7 kB / 0.8819 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.193e-05/0.006605, allocations: 114.7 kB / 0.8821 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.618e-05/0.006661, allocations: 101 kB / 0.8822 GB, free: 420 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.562e-05/0.006756, allocations: 180.2 kB / 0.8823 GB, free: 232 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.00686, allocations: 184.4 kB / 0.8825 GB, free: 40 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001117/0.006971, allocations: 184.7 kB / 0.8827 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.174e-05/0.007063, allocations: 177.5 kB / 0.8828 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.007266, allocations: 315.7 kB / 0.8831 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-05/0.007328, allocations: 101 kB / 0.8832 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.007446, allocations: 185.8 kB / 0.8834 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.007546, allocations: 101 kB / 0.8835 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.927e-05/0.007645, allocations: 180.2 kB / 0.8837 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.766e-05/0.007703, allocations: 113 kB / 0.8838 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.023e-05/0.007783, allocations: 95.58 kB / 0.8839 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.007783, allocations: 4.094 kB / 0.8839 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002204/0.008004, allocations: 7.953 kB / 0.8839 GB, free: 14.54 MB / 0.8073 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.0001481/0.008152, allocations: 166.5 kB / 0.8841 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.707e-05/0.008219, allocations: 15.98 kB / 0.8841 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.00822, allocations: 0 / 0.8841 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.088e-06/0.008225, allocations: 3.938 kB / 0.8841 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005025/0.008727, allocations: 459.6 kB / 0.8845 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/0.009062, allocations: 213.8 kB / 0.8847 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.085e-05/0.009143, allocations: 79.39 kB / 0.8848 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.294e-05/0.009165, allocations: 4 kB / 0.8848 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.009196, allocations: 8.5 kB / 0.8848 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of SimCode: time 4.61e-07/0.009196, allocations: 3.938 kB / 0.8848 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of Templates: time 0.002547/0.01174, allocations: 330.5 kB / 0.8851 GB, free: 13.23 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.382125639007427]