Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002392/0.002392, allocations: 190.9 kB / 22.11 MB, free: 5.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.337/3.337, allocations: 495.8 MB / 0.783 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 61.42 kB / 1.137 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4079, allocations: 173.6 MB / 1.307 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002142/0.41, allocations: 0.6612 MB / 1.307 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001996/0.4102, allocations: 15.92 kB / 1.307 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.4102, allocations: 0 / 1.307 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.4103, allocations: 3.938 kB / 1.307 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.675e-05/0.4104, allocations: 4 kB / 1.307 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.4105, allocations: 4 kB / 1.307 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.4107, allocations: 43.84 kB / 1.308 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.4108, allocations: 19.98 kB / 1.308 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.781e-05/0.4108, allocations: 19.92 kB / 1.308 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.763e-05/0.4109, allocations: 19.92 kB / 1.308 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.4109, allocations: 0 / 1.308 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.4109, allocations: 4 kB / 1.308 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.518e-05/0.4109, allocations: 8 kB / 1.308 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.78e-05/0.411, allocations: 23.86 kB / 1.308 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.4111, allocations: 51.73 kB / 1.308 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4111, allocations: 0 / 1.308 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4111, allocations: 0 / 1.308 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.4111, allocations: 0 / 1.308 GB, free: 0.9297 MB / 0.9981 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.0004089/0.4115, allocations: 282.1 kB / 1.308 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.4116, allocations: 12.92 kB / 1.308 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.4116, allocations: 8.891 kB / 1.308 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.4118, allocations: 122.4 kB / 1.308 GB, free: 468 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.4118, allocations: 384 / 1.308 GB, free: 468 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.4118, allocations: 8.375 kB / 1.308 GB, free: 460 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.412, allocations: 86.14 kB / 1.308 GB, free: 368 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.412, allocations: 192 / 1.308 GB, free: 368 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.412, allocations: 3.938 kB / 1.308 GB, free: 364 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.412, allocations: 0 / 1.308 GB, free: 364 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.906e-05/0.4121, allocations: 47.97 kB / 1.308 GB, free: 316 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.4126, allocations: 462.6 kB / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.4128, allocations: 165.2 kB / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.376e-05/0.4128, allocations: 84.14 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.92e-05/0.4129, allocations: 79.33 kB / 1.309 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.662e-05/0.4129, allocations: 113.8 kB / 1.309 GB, free: 15.35 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.4129, allocations: 0 / 1.309 GB, free: 15.35 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 8.015e-05/0.413, allocations: 41.64 kB / 1.309 GB, free: 15.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/0.4131, allocations: 126.7 kB / 1.309 GB, free: 15.16 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.4133, allocations: 180.1 kB / 1.309 GB, free: 14.98 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.4133, allocations: 25.7 kB / 1.309 GB, free: 14.95 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.097e-05/0.4134, allocations: 92.14 kB / 1.309 GB, free: 14.86 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-06/0.4134, allocations: 4 kB / 1.31 GB, free: 14.85 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.4135, allocations: 17.7 kB / 1.31 GB, free: 14.83 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.4137, allocations: 314.8 kB / 1.31 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.4137, allocations: 7.984 kB / 1.31 GB, free: 14.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.316e-05/0.4137, allocations: 11.94 kB / 1.31 GB, free: 14.49 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.208e-05/0.4137, allocations: 16.84 kB / 1.31 GB, free: 14.47 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.4137, allocations: 0 / 1.31 GB, free: 14.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001204/0.4139, allocations: 53.7 kB / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.4139, allocations: 8 kB / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4139, allocations: 0 / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4139, allocations: 0 / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.995e-05/0.414, allocations: 7.984 kB / 1.31 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.414, allocations: 3.938 kB / 1.31 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.677e-05/0.414, allocations: 11.89 kB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.414, allocations: 0 / 1.31 GB, free: 14.38 MB / 1.014 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.0002536/0.4143, allocations: 201 kB / 1.31 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-05/0.4144, allocations: 109 kB / 1.31 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.076e-05/0.4144, allocations: 108.8 kB / 1.31 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-05/0.4145, allocations: 184.2 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001193/0.4146, allocations: 188.2 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.519e-05/0.4147, allocations: 176.3 kB / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/0.4151, allocations: 396.2 kB / 1.311 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.788e-05/0.4151, allocations: 105 kB / 1.311 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.646e-05/0.4152, allocations: 104.9 kB / 1.311 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.604e-05/0.4153, allocations: 180.2 kB / 1.312 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.941e-05/0.4154, allocations: 176.3 kB / 1.312 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.574e-05/0.4155, allocations: 192.1 kB / 1.312 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.422e-05/0.4155, allocations: 184.2 kB / 1.312 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.4158, allocations: 315.7 kB / 1.312 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/0.4158, allocations: 116.8 kB / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-05/0.4159, allocations: 184.3 kB / 1.313 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.846e-05/0.416, allocations: 105.3 kB / 1.313 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.991e-05/0.4161, allocations: 188.1 kB / 1.313 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.602e-05/0.4162, allocations: 105 kB / 1.313 GB, free: 10.94 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001146/0.4163, allocations: 133.7 kB / 1.313 GB, free: 10.81 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.4163, allocations: 0 / 1.313 GB, free: 10.81 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002466/0.4165, allocations: 4 kB / 1.313 GB, free: 10.8 MB / 1.014 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.0001632/0.4167, allocations: 175.3 kB / 1.313 GB, free: 10.62 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.391e-05/0.4168, allocations: 19.97 kB / 1.313 GB, free: 10.61 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4168, allocations: 0 / 1.313 GB, free: 10.61 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.714e-06/0.4168, allocations: 0 / 1.313 GB, free: 10.61 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.4173, allocations: 455.7 kB / 1.314 GB, free: 10.16 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.4177, allocations: 228.1 kB / 1.314 GB, free: 9.906 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.4181, allocations: 0.6885 MB / 1.315 GB, free: 9.191 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.531e-05/0.4181, allocations: 4 kB / 1.315 GB, free: 9.188 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.4181, allocations: 11.44 kB / 1.315 GB, free: 9.176 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.4181, allocations: 0 / 1.315 GB, free: 9.176 MB / 1.014 GB Notification: Performance of Templates: time 0.002984/0.4211, allocations: 484.9 kB / 1.315 GB, free: 8.703 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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: 9.581320699304342]