Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001664/0.001664, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001987/0.001987, allocations: 221.9 kB / 22.26 MB, free: 5.125 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] 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 3.346/3.346, allocations: 0.5096 GB / 0.8147 GB, free: 17.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [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.002128/0.002128, allocations: 66.88 kB / 1.184 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4243, allocations: 181.4 MB / 1.361 GB, free: 124 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002106/0.4264, allocations: 0.6711 MB / 1.362 GB, free: 15.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.4275, allocations: 0.8514 MB / 1.363 GB, free: 14.58 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.981e-05/0.4276, allocations: 0 / 1.363 GB, free: 14.58 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.4276, allocations: 0 / 1.363 GB, free: 14.58 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.811e-05/0.4277, allocations: 3.938 kB / 1.363 GB, free: 14.58 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.4279, allocations: 12 kB / 1.363 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.704e-05/0.4279, allocations: 27.91 kB / 1.363 GB, free: 14.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.428, allocations: 8 kB / 1.363 GB, free: 14.53 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.227e-05/0.4281, allocations: 11.92 kB / 1.363 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.341e-05/0.4281, allocations: 11.98 kB / 1.363 GB, free: 14.51 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.4282, allocations: 0 / 1.363 GB, free: 14.51 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.275e-05/0.4282, allocations: 11.94 kB / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.4282, allocations: 0 / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.4282, allocations: 11.94 kB / 1.363 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.4283, allocations: 27.83 kB / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4283, allocations: 0 / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4283, allocations: 4 kB / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.4284, allocations: 4 kB / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004617/0.4288, allocations: 258.3 kB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.4289, allocations: 12.02 kB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.596e-05/0.429, allocations: 4.938 kB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.4291, allocations: 110.5 kB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.4291, allocations: 8.312 kB / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.4291, allocations: 384 / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.4293, allocations: 54.23 kB / 1.364 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.4293, allocations: 4.188 kB / 1.364 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.4293, allocations: 3.938 kB / 1.364 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.4293, allocations: 0 / 1.364 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.4295, allocations: 39.89 kB / 1.364 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.43, allocations: 212.1 kB / 1.364 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.4301, allocations: 42.5 kB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.653e-05/0.4302, allocations: 16.91 kB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.4302, allocations: 0 / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.4303, allocations: 42.55 kB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4303, allocations: 0 / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003651/0.4306, allocations: 77.59 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.4307, allocations: 59.39 kB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.017e-05/0.4308, allocations: 101.8 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.4308, allocations: 25.7 kB / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.4309, allocations: 80.14 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.4309, allocations: 15.89 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.4309, allocations: 13.83 kB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4311, allocations: 314.8 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.672e-05/0.4312, allocations: 19.98 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.439e-05/0.4312, allocations: 11.98 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.4314, allocations: 44.75 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4314, allocations: 64 / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000215/0.4316, allocations: 73.56 kB / 1.365 GB, free: 12.65 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4316, allocations: 11.98 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4316, allocations: 0 / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4317, allocations: 0 / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.152e-05/0.4317, allocations: 8 kB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.4318, allocations: 0 / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.113e-05/0.4318, allocations: 7.984 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.4318, allocations: 4.031 kB / 1.365 GB, free: 12.62 MB / 1.061 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 (2): * Single equations (assignments): 2 * 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 8.591e-05/0.4319, allocations: 109.8 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.4319, allocations: 4 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.4322, allocations: 72.91 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4322, allocations: 7.922 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4322, allocations: 0 / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.4322, allocations: 0 / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.4323, allocations: 136.7 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4324, allocations: 0 / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.909e-05/0.4324, allocations: 7.984 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4324, allocations: 192 / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.4324, allocations: 0 / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.4324, allocations: 4 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4324, allocations: 0 / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.4327, allocations: 175.4 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.687e-06/0.4327, allocations: 3.953 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.4327, allocations: 0 / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.016e-05/0.4328, allocations: 11.98 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.4328, allocations: 0 / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.4328, allocations: 0 / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.506e-05/0.4329, allocations: 87.27 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4329, allocations: 0 / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000223/0.4331, allocations: 8.031 kB / 1.365 GB, free: 11.93 MB / 1.061 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 (2): * Single equations (assignments): 2 * 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.0001358/0.4333, allocations: 91.25 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.4335, allocations: 35.97 kB / 1.365 GB, free: 11.79 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4335, allocations: 3.938 kB / 1.365 GB, free: 11.79 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.839e-05/0.4336, allocations: 27.91 kB / 1.365 GB, free: 11.76 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.4339, allocations: 14.5 kB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.4342, allocations: 97.69 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.4345, allocations: 0.6729 MB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.171e-05/0.4345, allocations: 3.984 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.4346, allocations: 11.44 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4346, allocations: 0 / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of Templates: time 0.002895/0.4375, allocations: 453.3 kB / 1.367 GB, free: 10.48 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.415308204945177]