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.001849/0.001849, allocations: 81.5 kB / 19.44 MB, free: 344 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.002042/0.002042, allocations: 173.6 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.627/1.627, allocations: 177.1 MB / 203.1 MB, free: 5.152 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.437/3.437, allocations: 429.5 MB / 0.6729 GB, free: 3.992 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 1.523e-06/1.523e-06, allocations: 0 / 0.8775 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.919e-05, allocations: 6.312 kB / 0.8775 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001744/0.001773, allocations: 0.6543 MB / 0.8782 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001624/0.001935, allocations: 19.88 kB / 0.8782 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.001973, allocations: 0 / 0.8782 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.002082, allocations: 11.92 kB / 0.8782 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.477e-05/0.002116, allocations: 0.875 kB / 0.8782 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.342e-05/0.00218, allocations: 4 kB / 0.8782 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.598e-05/0.002266, allocations: 27.09 kB / 0.8782 GB, free: 5.887 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.002398, allocations: 27.97 kB / 0.8782 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.545e-05/0.002444, allocations: 15.98 kB / 0.8783 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.718e-05/0.002481, allocations: 11.98 kB / 0.8783 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.002501, allocations: 4 kB / 0.8783 GB, free: 5.828 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.002511, allocations: 4.844 kB / 0.8783 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.356e-05/0.002545, allocations: 11.98 kB / 0.8783 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.002574, allocations: 7.938 kB / 0.8783 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.002679, allocations: 48.98 kB / 0.8783 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.002681, allocations: 0 / 0.8783 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.31e-07/0.002682, allocations: 0 / 0.8783 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.002685, allocations: 1.094 kB / 0.8783 GB, free: 5.758 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.0004471/0.003132, allocations: 384.1 kB / 0.8787 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.003169, allocations: 13.09 kB / 0.8787 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.003213, allocations: 8.891 kB / 0.8787 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.003386, allocations: 128.5 kB / 0.8789 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.003396, allocations: 1.375 kB / 0.8789 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.003408, allocations: 4.375 kB / 0.8789 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.003549, allocations: 62.23 kB / 0.8789 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.003557, allocations: 0.7188 kB / 0.8789 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.003566, allocations: 5.281 kB / 0.8789 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.00357, allocations: 384 / 0.8789 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.138e-05/0.003631, allocations: 27.92 kB / 0.879 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007001/0.004331, allocations: 0.5536 MB / 0.8795 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.004491, allocations: 269.4 kB / 0.8798 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.759e-05/0.004558, allocations: 126.9 kB / 0.8799 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.045e-05/0.004619, allocations: 120.4 kB / 0.88 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/0.004722, allocations: 156.6 kB / 0.8801 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.004723, allocations: 0 / 0.8801 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.288e-05/0.004796, allocations: 35.53 kB / 0.8802 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.583e-05/0.004891, allocations: 174.5 kB / 0.8803 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.005056, allocations: 186.5 kB / 0.8805 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.005072, allocations: 25.7 kB / 0.8805 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.005173, allocations: 151.7 kB / 0.8807 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.005175, allocations: 0 / 0.8807 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.005217, allocations: 23.36 kB / 0.8807 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002376/0.005455, allocations: 0.4891 MB / 0.8812 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.278e-05/0.005478, allocations: 11.98 kB / 0.8812 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.326e-05/0.005491, allocations: 4.656 kB / 0.8812 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.88e-05/0.00553, allocations: 23.11 kB / 0.8812 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.005531, allocations: 0 / 0.8812 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001319/0.005663, allocations: 49.62 kB / 0.8813 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.005675, allocations: 4 kB / 0.8813 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.005679, allocations: 0 / 0.8813 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.005694, allocations: 4 kB / 0.8813 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.956e-05/0.005744, allocations: 0 / 0.8813 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.005747, allocations: 0 / 0.8813 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.333e-05/0.005771, allocations: 8.578 kB / 0.8813 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.005779, allocations: 0 / 0.8813 GB, free: 2.547 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: 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.0001639/0.005943, allocations: 284.7 kB / 0.8816 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.601e-05/0.006039, allocations: 148.8 kB / 0.8817 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.034e-05/0.00613, allocations: 164.9 kB / 0.8819 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001238/0.006253, allocations: 264.3 kB / 0.8821 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001326/0.006386, allocations: 277.6 kB / 0.8824 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001341/0.00652, allocations: 272 kB / 0.8826 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.006871, allocations: 0.5115 MB / 0.8831 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.17e-05/0.006942, allocations: 148.8 kB / 0.8833 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.126e-05/0.007014, allocations: 149 kB / 0.8834 GB, free: 272 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001416/0.007155, allocations: 268.1 kB / 0.8837 GB, free: 16 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/0.007283, allocations: 268 kB / 0.8839 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001246/0.007407, allocations: 264.1 kB / 0.8842 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000141/0.007548, allocations: 276 kB / 0.8844 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.007806, allocations: 451.9 kB / 0.8849 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.972e-05/0.007886, allocations: 148.9 kB / 0.885 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.008021, allocations: 268.1 kB / 0.8853 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.008139, allocations: 152.8 kB / 0.8854 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.008274, allocations: 268.1 kB / 0.8857 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/0.008346, allocations: 148.8 kB / 0.8858 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.899e-05/0.008445, allocations: 143.2 kB / 0.886 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008445, allocations: 0 / 0.886 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002143/0.008659, allocations: 11.89 kB / 0.886 GB, free: 13.56 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.0001726/0.008832, allocations: 218.4 kB / 0.8862 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001945/0.009026, allocations: 15.69 kB / 0.8862 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.009028, allocations: 0 / 0.8862 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.00903, allocations: 0 / 0.8862 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005662/0.009596, allocations: 0.7162 MB / 0.8869 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.009936, allocations: 261.4 kB / 0.8871 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.874e-05/0.01001, allocations: 75.19 kB / 0.8872 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.074e-05/0.01004, allocations: 7.984 kB / 0.8872 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.01007, allocations: 8.5 kB / 0.8872 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of SimCode: time 4.31e-07/0.01007, allocations: 0 / 0.8872 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.002658/0.01273, allocations: 319.5 kB / 0.8875 GB, free: 11.9 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] 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.532307419925928]