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.0007709/0.0007709, 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.001047/0.001047, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8794/0.8794, allocations: 177.2 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 1.79/1.79, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.803e-06/1.803e-06, allocations: 0 / 1.001 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.558e-05, allocations: 6.281 kB / 1.001 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001258/0.001284, allocations: 0.6521 MB / 1.002 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0001451/0.001429, allocations: 7.938 kB / 1.002 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.507e-05/0.001474, allocations: 4 kB / 1.002 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 9.69e-05/0.001571, allocations: 7.938 kB / 1.002 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 4.059e-05/0.001612, allocations: 0 / 1.002 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 6.766e-05/0.001679, allocations: 7.984 kB / 1.002 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 9.057e-05/0.00177, allocations: 31.86 kB / 1.002 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.001893, allocations: 31.91 kB / 1.002 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 3.443e-05/0.001928, allocations: 15.98 kB / 1.002 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 2.966e-05/0.001957, allocations: 8 kB / 1.002 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.001982, allocations: 4 kB / 1.002 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 9.347e-06/0.001991, allocations: 4 kB / 1.002 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 3.096e-05/0.002022, allocations: 19.91 kB / 1.002 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.00205, allocations: 15.94 kB / 1.002 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 9.26e-05/0.002142, allocations: 35.92 kB / 1.002 GB, free: 11 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.002146, allocations: 4 kB / 1.002 GB, free: 11 MB / 0.9167 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002146, allocations: 7.938 kB / 1.002 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.002151, allocations: 0 / 1.002 GB, free: 10.99 MB / 0.9167 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.0002754/0.002426, allocations: 266.2 kB / 1.002 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.002464, allocations: 13.34 kB / 1.002 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.002493, allocations: 8.875 kB / 1.002 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.002617, allocations: 125.7 kB / 1.002 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.002628, allocations: 4.375 kB / 1.002 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.002639, allocations: 8.375 kB / 1.002 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.002775, allocations: 82.16 kB / 1.002 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.002784, allocations: 192 / 1.002 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.002792, allocations: 384 / 1.002 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.002798, allocations: 384 / 1.002 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.067e-05/0.002859, allocations: 51.91 kB / 1.002 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.003221, allocations: 414.8 kB / 1.003 GB, free: 9.941 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.09e-05/0.003282, allocations: 173.1 kB / 1.003 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.003304, allocations: 84.14 kB / 1.003 GB, free: 9.676 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.003321, allocations: 75.28 kB / 1.003 GB, free: 9.602 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.003353, allocations: 109.8 kB / 1.003 GB, free: 9.484 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 6.81e-07/0.003354, allocations: 4 kB / 1.003 GB, free: 9.48 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 5.195e-05/0.003406, allocations: 29.7 kB / 1.003 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.00345, allocations: 126.7 kB / 1.003 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.519e-05/0.003536, allocations: 133.6 kB / 1.003 GB, free: 9.168 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.003543, allocations: 25.7 kB / 1.003 GB, free: 9.137 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.003589, allocations: 96.03 kB / 1.004 GB, free: 9.039 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.003592, allocations: 0 / 1.004 GB, free: 9.039 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.003616, allocations: 25.64 kB / 1.004 GB, free: 9.008 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.625e-05/0.003683, allocations: 314.8 kB / 1.004 GB, free: 8.691 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.003695, allocations: 4 kB / 1.004 GB, free: 8.688 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.114e-05/0.003707, allocations: 19.98 kB / 1.004 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.861e-05/0.003735, allocations: 12.84 kB / 1.004 GB, free: 8.652 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.003737, allocations: 0 / 1.004 GB, free: 8.652 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.06e-05/0.003828, allocations: 49.64 kB / 1.004 GB, free: 8.598 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.003839, allocations: 8 kB / 1.004 GB, free: 8.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.003843, allocations: 0 / 1.004 GB, free: 8.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.003854, allocations: 3.938 kB / 1.004 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.76e-05/0.003902, allocations: 4 kB / 1.004 GB, free: 8.582 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.003907, allocations: 0 / 1.004 GB, free: 8.582 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.203e-05/0.003919, allocations: 0 / 1.004 GB, free: 8.582 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.003929, allocations: 8.094 kB / 1.004 GB, free: 8.574 MB / 0.9167 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 6.998e-05/0.003999, allocations: 197 kB / 1.004 GB, free: 8.371 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.004035, allocations: 109 kB / 1.004 GB, free: 8.258 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.004068, allocations: 112.4 kB / 1.004 GB, free: 8.133 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.875e-05/0.004107, allocations: 180.3 kB / 1.005 GB, free: 7.949 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.823e-05/0.004145, allocations: 177 kB / 1.005 GB, free: 7.77 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.02e-05/0.004185, allocations: 184.2 kB / 1.005 GB, free: 7.582 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.004314, allocations: 368.9 kB / 1.005 GB, free: 7.184 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.523e-05/0.004339, allocations: 116.9 kB / 1.005 GB, free: 7.062 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.071e-05/0.00436, allocations: 101 kB / 1.005 GB, free: 6.957 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.756e-05/0.004397, allocations: 184.3 kB / 1.006 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.004435, allocations: 180.4 kB / 1.006 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-05/0.004478, allocations: 192.3 kB / 1.006 GB, free: 6.391 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.114e-05/0.004519, allocations: 180.2 kB / 1.006 GB, free: 6.207 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.072e-05/0.00461, allocations: 311.7 kB / 1.006 GB, free: 5.879 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.00464, allocations: 112.9 kB / 1.007 GB, free: 5.762 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.64e-05/0.004686, allocations: 176.3 kB / 1.007 GB, free: 5.582 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.01e-05/0.004736, allocations: 108.9 kB / 1.007 GB, free: 5.469 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.004778, allocations: 176.3 kB / 1.007 GB, free: 5.289 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.004802, allocations: 105 kB / 1.007 GB, free: 5.18 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.849e-05/0.00484, allocations: 99.27 kB / 1.007 GB, free: 5.082 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.00484, allocations: 3.938 kB / 1.007 GB, free: 5.078 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001408/0.004981, allocations: 8 kB / 1.007 GB, free: 5.07 MB / 0.9167 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 9.375e-05/0.005075, allocations: 170.5 kB / 1.007 GB, free: 4.891 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.156e-05/0.005136, allocations: 8 kB / 1.007 GB, free: 4.883 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.005138, allocations: 4 kB / 1.007 GB, free: 4.879 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.005139, allocations: 0 / 1.007 GB, free: 4.879 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.005423, allocations: 465.6 kB / 1.008 GB, free: 4.422 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002365/0.00566, allocations: 233.7 kB / 1.008 GB, free: 4.16 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.792e-05/0.005708, allocations: 79.39 kB / 1.008 GB, free: 4.062 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.166e-05/0.005729, allocations: 12.44 kB / 1.008 GB, free: 4.051 MB / 0.9167 GB Notification: Performance of SimCode: time 4.7e-07/0.00573, allocations: 0 / 1.008 GB, free: 4.051 MB / 0.9167 GB Notification: Performance of Templates: time 0.001547/0.007277, allocations: 0.6444 MB / 1.009 GB, free: 3.402 MB / 0.9167 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: 6.4400144051760435]