Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.001784/0.001784, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002315/0.002315, allocations: 213.8 kB / 22.98 MB, free: 4.984 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.634/1.634, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.167/3.167, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [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.002031/0.002031, allocations: 65.2 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3759, allocations: 176.1 MB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002024/0.378, allocations: 0.7027 MB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.3791, allocations: 0.8358 MB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.252e-05/0.3792, allocations: 0 / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.441e-05/0.3792, allocations: 3.984 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.594e-05/0.3793, allocations: 7.875 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001118/0.3794, allocations: 19.98 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.615e-05/0.3795, allocations: 39.92 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.3796, allocations: 15.97 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.32e-05/0.3797, allocations: 23.92 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.26e-05/0.3797, allocations: 15.92 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.3797, allocations: 4 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.343e-05/0.3797, allocations: 4 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.3798, allocations: 7.938 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.3798, allocations: 15.92 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.3799, allocations: 47.8 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3799, allocations: 3.938 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3799, allocations: 4 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.3799, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000563/0.3805, allocations: 282.2 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3805, allocations: 12.03 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.3806, allocations: 8.875 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.3807, allocations: 118.4 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.3807, allocations: 4.375 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.3807, allocations: 4.375 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.381, allocations: 70.22 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.381, allocations: 192 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.381, allocations: 3.938 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.381, allocations: 4 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.3813, allocations: 67.86 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.3817, allocations: 200.6 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.3819, allocations: 54.53 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.3821, allocations: 48.8 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.3821, allocations: 0 / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.3821, allocations: 34.55 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.3821, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005716/0.3827, allocations: 137.5 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.3827, allocations: 51.41 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.3828, allocations: 105.8 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.3829, allocations: 25.7 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.3829, allocations: 92.12 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.3829, allocations: 3.953 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.383, allocations: 17.72 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3831, allocations: 310.8 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.3833, allocations: 39.95 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.3834, allocations: 27.97 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.3837, allocations: 76.98 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3837, allocations: 0 / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003293/0.384, allocations: 105.5 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.384, allocations: 6.031 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.384, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3841, allocations: 4 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.3842, allocations: 15.97 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3842, allocations: 0 / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.362e-05/0.3843, allocations: 19.98 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.3843, allocations: 0 / 1.331 GB, free: 13.07 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 (3): * Single equations (assignments): 3 * 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 7.964e-05/0.3844, allocations: 109.8 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.3844, allocations: 7.891 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003771/0.3848, allocations: 109.5 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3848, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3848, allocations: 4 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.3848, allocations: 3.984 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.385, allocations: 113.2 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.385, allocations: 3.938 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.3851, allocations: 19.92 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3851, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.3851, allocations: 8 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3851, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3851, allocations: 3.938 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004365/0.3855, allocations: 199.4 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.3855, allocations: 7.891 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.3855, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.3857, allocations: 11.98 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.3857, allocations: 7.984 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.3857, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.61e-05/0.3858, allocations: 87.59 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3858, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002171/0.386, allocations: 8 kB / 1.331 GB, free: 12.3 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 (3): * Single equations (assignments): 3 * 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.0001514/0.3861, allocations: 105.2 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003572/0.3865, allocations: 63.92 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3865, allocations: 0 / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.3867, allocations: 39.91 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.387, allocations: 11.94 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.3873, allocations: 117.6 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.503e-05/0.3874, allocations: 63.34 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.111e-05/0.3874, allocations: 4 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.3875, allocations: 11.44 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.3875, allocations: 4 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of Templates: time 0.00322/0.3907, allocations: 0.7571 MB / 1.333 GB, free: 11.09 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.042142574995523]