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.001678/0.001678, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002042/0.002042, allocations: 214 kB / 22.25 MB, free: 5.262 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.614/1.614, allocations: 230.6 MB / 256 MB, free: 7.816 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.45/3.45, allocations: 0.4892 GB / 0.7943 GB, free: 35.42 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.002924/0.002924, allocations: 74.47 kB / 1.154 GB, free: 25.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4277/0.4306, allocations: 176.1 MB / 1.326 GB, free: 1.715 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002682/0.4333, allocations: 0.6545 MB / 1.326 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001931/0.4335, allocations: 11.94 kB / 1.326 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.165e-05/0.4336, allocations: 0 / 1.326 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.4337, allocations: 3.938 kB / 1.326 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.575e-05/0.4337, allocations: 4 kB / 1.326 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.882e-05/0.4338, allocations: 7.984 kB / 1.326 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.944e-05/0.4339, allocations: 27.92 kB / 1.326 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.4341, allocations: 15.98 kB / 1.326 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.927e-05/0.4341, allocations: 11.94 kB / 1.326 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.722e-05/0.4342, allocations: 23.91 kB / 1.326 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.4342, allocations: 0 / 1.326 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.605e-05/0.4342, allocations: 8 kB / 1.326 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.4342, allocations: 11.94 kB / 1.326 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.4343, allocations: 11.94 kB / 1.326 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.4344, allocations: 51.73 kB / 1.326 GB, free: 0.875 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.4344, allocations: 4 kB / 1.326 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.582e-06/0.4344, allocations: 0 / 1.326 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.4344, allocations: 0 / 1.326 GB, free: 0.8711 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.0004528/0.4349, allocations: 278.2 kB / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.4349, allocations: 11.97 kB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.435, allocations: 4.938 kB / 1.327 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.4352, allocations: 122.4 kB / 1.327 GB, free: 416 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.4352, allocations: 12.38 kB / 1.327 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.4352, allocations: 8.359 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.4354, allocations: 70.23 kB / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.4354, allocations: 192 / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.4354, allocations: 3.938 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.4355, allocations: 4 kB / 1.327 GB, free: 312 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.4356, allocations: 47.97 kB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006166/0.4362, allocations: 419.2 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.4363, allocations: 169.1 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.159e-05/0.4364, allocations: 84.17 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.4364, allocations: 83.22 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.76e-05/0.4365, allocations: 109.8 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.4365, allocations: 3.938 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.758e-05/0.4366, allocations: 25.7 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.04e-05/0.4366, allocations: 126.8 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.4368, allocations: 133.8 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.4368, allocations: 25.7 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.4369, allocations: 99.97 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.4369, allocations: 0 / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.4369, allocations: 17.72 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.4371, allocations: 314.8 kB / 1.328 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.558e-05/0.4371, allocations: 15.98 kB / 1.328 GB, free: 14.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.41e-05/0.4371, allocations: 7.938 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.096e-05/0.4371, allocations: 12.84 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4372, allocations: 4 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001279/0.4373, allocations: 45.69 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.4373, allocations: 4 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.4373, allocations: 3.984 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.4373, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.255e-05/0.4374, allocations: 4.094 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.4374, allocations: 4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.869e-05/0.4374, allocations: 11.94 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.4374, allocations: 0 / 1.329 GB, free: 14.45 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.0001379/0.4376, allocations: 201.6 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.141e-05/0.4376, allocations: 104.9 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.79e-05/0.4377, allocations: 112.5 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-05/0.4378, allocations: 180.2 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001035/0.4379, allocations: 184.2 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-05/0.438, allocations: 180.2 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.4382, allocations: 368.8 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.824e-05/0.4383, allocations: 109 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.288e-05/0.4383, allocations: 104.9 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.2e-05/0.4384, allocations: 180.2 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.311e-05/0.4385, allocations: 184.2 kB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.172e-05/0.4386, allocations: 176.3 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.73e-05/0.4387, allocations: 176.3 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.4389, allocations: 319.7 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.4389, allocations: 104.9 kB / 1.331 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-05/0.439, allocations: 180.3 kB / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/0.4391, allocations: 105.3 kB / 1.331 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.784e-05/0.4392, allocations: 196.1 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/0.4393, allocations: 101 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.149e-05/0.4394, allocations: 99.27 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4394, allocations: 0 / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000243/0.4396, allocations: 15.83 kB / 1.332 GB, free: 10.94 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.0001713/0.4398, allocations: 170.5 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.462e-05/0.4399, allocations: 11.97 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4399, allocations: 0 / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.837e-06/0.4399, allocations: 4 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/0.4404, allocations: 465.9 kB / 1.332 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.4408, allocations: 204.2 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.018e-05/0.4409, allocations: 75.33 kB / 1.333 GB, free: 9.973 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.414e-05/0.4409, allocations: 0 / 1.333 GB, free: 9.973 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.441, allocations: 11.44 kB / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.441, allocations: 0 / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of Templates: time 0.002903/0.4439, allocations: 332.2 kB / 1.333 GB, free: 9.645 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/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: 9.773462504148483]