Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008227/0.0008227, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008294/0.0008294, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9201/0.9201, allocations: 177.2 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.767/1.767, allocations: 377.9 MB / 0.6229 GB, free: 8.625 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.298e-06/4.298e-06, allocations: 0 / 0.9823 GB, free: 0.8359 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.364e-05/3.794e-05, allocations: 4.391 kB / 0.9823 GB, free: 0.832 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001913/0.001951, allocations: 0.6522 MB / 0.9829 GB, free: 184 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0001683/0.002119, allocations: 11.94 kB / 0.9829 GB, free: 172 kB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.345e-05/0.002173, allocations: 0 / 0.9829 GB, free: 172 kB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.002283, allocations: 7.922 kB / 0.9829 GB, free: 164 kB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 4.21e-05/0.002325, allocations: 0 / 0.9829 GB, free: 164 kB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 7.588e-05/0.002401, allocations: 4 kB / 0.9829 GB, free: 160 kB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 9.862e-05/0.002499, allocations: 31.91 kB / 0.983 GB, free: 128 kB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.00264, allocations: 23.98 kB / 0.983 GB, free: 104 kB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 4.728e-05/0.002688, allocations: 23.92 kB / 0.983 GB, free: 80 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 3.766e-05/0.002725, allocations: 15.97 kB / 0.983 GB, free: 64 kB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.002753, allocations: 0 / 0.983 GB, free: 64 kB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.002764, allocations: 4 kB / 0.983 GB, free: 60 kB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 3.563e-05/0.0028, allocations: 7.938 kB / 0.983 GB, free: 52 kB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.002832, allocations: 8 kB / 0.983 GB, free: 44 kB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.002965, allocations: 51.86 kB / 0.9831 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.002968, allocations: 0 / 0.9831 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.443e-06/0.002969, allocations: 0 / 0.9831 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.002974, allocations: 7.938 kB / 0.9831 GB, free: 15.98 MB / 0.9011 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.0003527/0.003327, allocations: 282 kB / 0.9834 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.003366, allocations: 8.031 kB / 0.9834 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.003404, allocations: 8.891 kB / 0.9834 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.00356, allocations: 121.7 kB / 0.9835 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.003572, allocations: 4.375 kB / 0.9835 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.003585, allocations: 4.375 kB / 0.9835 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.003747, allocations: 82.11 kB / 0.9836 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.003756, allocations: 192 / 0.9836 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.003767, allocations: 384 / 0.9836 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.003774, allocations: 4.375 kB / 0.9836 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.51e-05/0.003849, allocations: 55.91 kB / 0.9836 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.004292, allocations: 410.9 kB / 0.984 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.024e-05/0.004372, allocations: 173.1 kB / 0.9842 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.89e-05/0.004401, allocations: 80.14 kB / 0.9843 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.004425, allocations: 75.39 kB / 0.9843 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.004468, allocations: 117.8 kB / 0.9845 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.004469, allocations: 0 / 0.9845 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 7.277e-05/0.004542, allocations: 29.64 kB / 0.9845 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.004598, allocations: 126.7 kB / 0.9846 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.004973, allocations: 129.8 kB / 0.9847 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.004983, allocations: 29.7 kB / 0.9848 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.005037, allocations: 104 kB / 0.9849 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/0.00504, allocations: 0 / 0.9849 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.005069, allocations: 13.72 kB / 0.9849 GB, free: 14 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.018e-05/0.005149, allocations: 318.8 kB / 0.9852 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/0.005165, allocations: 7.984 kB / 0.9852 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-06/0.005175, allocations: 4 kB / 0.9852 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.551e-05/0.00521, allocations: 20.78 kB / 0.9852 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.005213, allocations: 4 kB / 0.9852 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001023/0.005315, allocations: 49.75 kB / 0.9853 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.005328, allocations: 4 kB / 0.9853 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.005333, allocations: 0 / 0.9853 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.005346, allocations: 3.984 kB / 0.9853 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.079e-05/0.005407, allocations: 4 kB / 0.9853 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.005411, allocations: 0 / 0.9853 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.636e-05/0.005427, allocations: 7.953 kB / 0.9853 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.005436, allocations: 320 / 0.9853 GB, free: 13.57 MB / 0.9011 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 8.017e-05/0.005516, allocations: 201 kB / 0.9855 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.005554, allocations: 104.9 kB / 0.9856 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.005591, allocations: 108.5 kB / 0.9857 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-05/0.00563, allocations: 180.3 kB / 0.9858 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.467e-05/0.005674, allocations: 192.1 kB / 0.986 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.914e-05/0.005713, allocations: 176.3 kB / 0.9862 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.005849, allocations: 372.7 kB / 0.9866 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.5e-05/0.005874, allocations: 109 kB / 0.9867 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.705e-05/0.005921, allocations: 101 kB / 0.9868 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-05/0.00597, allocations: 188.2 kB / 0.9869 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.006013, allocations: 180.5 kB / 0.9871 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-05/0.006053, allocations: 184.2 kB / 0.9873 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.989e-05/0.006093, allocations: 180.3 kB / 0.9875 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.643e-05/0.006189, allocations: 319.6 kB / 0.9878 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.006221, allocations: 104.9 kB / 0.9879 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.006272, allocations: 188.2 kB / 0.988 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.239e-05/0.006324, allocations: 101 kB / 0.9881 GB, free: 10.47 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.006373, allocations: 188.2 kB / 0.9883 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.006396, allocations: 101 kB / 0.9884 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 4.57e-05/0.006442, allocations: 103.2 kB / 0.9885 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006442, allocations: 0 / 0.9885 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001509/0.006593, allocations: 7.938 kB / 0.9885 GB, free: 10.06 MB / 0.9011 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.0001214/0.006715, allocations: 174.5 kB / 0.9887 GB, free: 9.883 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 6.703e-05/0.006782, allocations: 7.984 kB / 0.9887 GB, free: 9.875 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.006783, allocations: 0 / 0.9887 GB, free: 9.875 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 2.003e-06/0.006785, allocations: 3.938 kB / 0.9887 GB, free: 9.871 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.007114, allocations: 463.6 kB / 0.9891 GB, free: 9.414 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002593/0.007373, allocations: 229.8 kB / 0.9894 GB, free: 9.156 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.441e-05/0.007428, allocations: 79.33 kB / 0.9894 GB, free: 9.059 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.007452, allocations: 8.5 kB / 0.9894 GB, free: 9.051 MB / 0.9011 GB Notification: Performance of SimCode: time 5.91e-07/0.007453, allocations: 0 / 0.9894 GB, free: 9.051 MB / 0.9011 GB Notification: Performance of Templates: time 0.001492/0.008945, allocations: 0.647 MB / 0.9901 GB, free: 8.406 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.682497771456838]