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.001319/0.001319, allocations: 102.3 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001557/0.001557, allocations: 217.4 kB / 23.01 MB, free: 4.609 MB / 14.72 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.302/3.302, allocations: 0.49 GB / 0.7958 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 75.22 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3328, allocations: 176.1 MB / 1.327 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001979/0.3347, allocations: 0.6587 MB / 1.328 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001452/0.3349, allocations: 11.98 kB / 1.328 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.705e-05/0.3349, allocations: 0 / 1.328 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.335, allocations: 3.938 kB / 1.328 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.702e-05/0.3351, allocations: 8 kB / 1.328 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.057e-05/0.3351, allocations: 0 / 1.328 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.814e-05/0.3352, allocations: 31.91 kB / 1.328 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.3354, allocations: 19.97 kB / 1.328 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.81e-05/0.3354, allocations: 11.94 kB / 1.328 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.334e-05/0.3354, allocations: 15.94 kB / 1.328 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.3355, allocations: 4 kB / 1.328 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.3355, allocations: 4 kB / 1.328 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.62e-05/0.3355, allocations: 15.92 kB / 1.328 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.908e-05/0.3355, allocations: 19.88 kB / 1.328 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.3357, allocations: 47.73 kB / 1.328 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3357, allocations: 0 / 1.328 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3357, allocations: 4 kB / 1.328 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.3357, allocations: 3.938 kB / 1.328 GB, free: 0.5586 MB / 1.014 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.0003612/0.336, allocations: 274.2 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3361, allocations: 16.03 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.3361, allocations: 0.9375 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.3363, allocations: 122.5 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.3363, allocations: 384 / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.3363, allocations: 16.25 kB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.3365, allocations: 74.22 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3365, allocations: 4.188 kB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.3365, allocations: 4.141 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3365, allocations: 0 / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.407e-05/0.3366, allocations: 51.91 kB / 1.329 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005293/0.3371, allocations: 458.7 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.3372, allocations: 173.1 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.736e-05/0.3373, allocations: 84.17 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.3373, allocations: 75.28 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.532e-05/0.3373, allocations: 109.8 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3373, allocations: 0 / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.345e-05/0.3374, allocations: 37.59 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.3375, allocations: 130.7 kB / 1.33 GB, free: 14.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.3377, allocations: 175.9 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3377, allocations: 25.7 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.147e-05/0.3378, allocations: 104.1 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-06/0.3378, allocations: 4 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.3378, allocations: 13.72 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.338, allocations: 318.8 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.012e-05/0.338, allocations: 8.109 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.48e-05/0.338, allocations: 11.92 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.645e-05/0.338, allocations: 16.86 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.338, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001311/0.3382, allocations: 61.62 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3382, allocations: 8 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3382, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3382, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.446e-05/0.3383, allocations: 4 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.3383, allocations: 3.938 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.65e-05/0.3383, allocations: 7.938 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.3383, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 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.0001249/0.3384, allocations: 197.6 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/0.3385, allocations: 109 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.913e-05/0.3386, allocations: 116.7 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.788e-05/0.3387, allocations: 176.3 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.338e-05/0.3387, allocations: 192.1 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.703e-05/0.3388, allocations: 176.3 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.3391, allocations: 388.3 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-05/0.3391, allocations: 112.9 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.3392, allocations: 105 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.676e-05/0.3392, allocations: 180.2 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.943e-05/0.3393, allocations: 180.2 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.626e-05/0.3394, allocations: 176.3 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.682e-05/0.3395, allocations: 192.1 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.3397, allocations: 315.7 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.028e-05/0.3397, allocations: 105 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-05/0.3398, allocations: 188.2 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.709e-05/0.3399, allocations: 113.2 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.34, allocations: 180.2 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.857e-05/0.34, allocations: 104.9 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001101/0.3401, allocations: 137 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3401, allocations: 0 / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002322/0.3404, allocations: 4 kB / 1.334 GB, free: 10.44 MB / 1.029 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.0001576/0.3405, allocations: 174.5 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.41e-05/0.3406, allocations: 12.03 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3406, allocations: 0 / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.3406, allocations: 3.938 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/0.3411, allocations: 459.7 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.3415, allocations: 253.9 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.3418, allocations: 0.6885 MB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.3418, allocations: 7.438 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3418, allocations: 0 / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of Templates: time 0.002267/0.3441, allocations: 0.767 MB / 1.336 GB, free: 8.027 MB / 1.029 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/jenkins1/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: 11.099832981999498]