Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.00155/0.00155, allocations: 115.5 kB / 17.13 MB, free: 6.004 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.001637/0.001637, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.427/1.427, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.821/2.821, allocations: 0.49 GB / 0.7923 GB, free: 1.301 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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") [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.001972/0.001972, allocations: 74.39 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.862/0.864, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002249/0.8662, allocations: 1.698 MB / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.8679, allocations: 1.414 MB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.634e-05/0.868, allocations: 2.531 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.8684, allocations: 87.41 kB / 1.325 GB, free: 22.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.8685, allocations: 70.81 kB / 1.325 GB, free: 22.81 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006205/0.8691, allocations: 285.6 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000173/0.8693, allocations: 186.5 kB / 1.326 GB, free: 22.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.8693, allocations: 3.969 kB / 1.326 GB, free: 22.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.8694, allocations: 89.56 kB / 1.326 GB, free: 22.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.8695, allocations: 91.2 kB / 1.326 GB, free: 22.54 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.8695, allocations: 8.594 kB / 1.326 GB, free: 22.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004057/0.8699, allocations: 342.8 kB / 1.326 GB, free: 22.44 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.428e-05/0.87, allocations: 69.95 kB / 1.326 GB, free: 22.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.689e-05/0.8701, allocations: 88.12 kB / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004631/0.8705, allocations: 395.5 kB / 1.327 GB, free: 22.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8706, allocations: 0 / 1.327 GB, free: 22.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8706, allocations: 1.188 kB / 1.327 GB, free: 22.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.8706, allocations: 0 / 1.327 GB, free: 22.25 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008267/0.8714, allocations: 0.5599 MB / 1.327 GB, free: 21.76 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.8714, allocations: 12.86 kB / 1.327 GB, free: 21.76 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.8715, allocations: 25.72 kB / 1.327 GB, free: 21.74 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.8719, allocations: 283.7 kB / 1.327 GB, free: 21.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-05/0.872, allocations: 65.36 kB / 1.328 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.872, allocations: 3.031 kB / 1.328 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.8722, allocations: 90.19 kB / 1.328 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.8722, allocations: 4 kB / 1.328 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.8722, allocations: 3.938 kB / 1.328 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.8722, allocations: 5.047 kB / 1.328 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.8725, allocations: 99.92 kB / 1.328 GB, free: 21.36 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.8727, allocations: 252.9 kB / 1.328 GB, free: 21.14 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.8741, allocations: 294.3 kB / 1.328 GB, free: 21.08 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.8742, allocations: 62.58 kB / 1.328 GB, free: 21.06 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.8744, allocations: 99.84 kB / 1.328 GB, free: 20.96 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.8744, allocations: 35.44 kB / 1.328 GB, free: 20.92 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.8744, allocations: 0 / 1.328 GB, free: 20.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0005177/0.8749, allocations: 216.6 kB / 1.329 GB, free: 20.85 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.8749, allocations: 52.19 kB / 1.329 GB, free: 20.79 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.8752, allocations: 301.5 kB / 1.329 GB, free: 20.62 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.8753, allocations: 26.89 kB / 1.329 GB, free: 20.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.484e-05/0.8753, allocations: 120.6 kB / 1.329 GB, free: 20.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.8753, allocations: 27.88 kB / 1.329 GB, free: 20.45 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.8754, allocations: 56.5 kB / 1.329 GB, free: 20.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.8755, allocations: 331.9 kB / 1.33 GB, free: 20.11 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.8758, allocations: 153.5 kB / 1.33 GB, free: 20.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.876, allocations: 158.6 kB / 1.33 GB, free: 20.02 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/0.8764, allocations: 300.5 kB / 1.33 GB, free: 19.92 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.8764, allocations: 0.5156 kB / 1.33 GB, free: 19.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000569/0.877, allocations: 407.3 kB / 1.33 GB, free: 19.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.877, allocations: 8.469 kB / 1.33 GB, free: 19.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.877, allocations: 6.812 kB / 1.331 GB, free: 19.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.877, allocations: 1.062 kB / 1.331 GB, free: 19.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.8771, allocations: 14.31 kB / 1.331 GB, free: 19.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.8771, allocations: 0 / 1.331 GB, free: 19.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.8773, allocations: 38.7 kB / 1.331 GB, free: 19.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.8773, allocations: 2.062 kB / 1.331 GB, free: 19.74 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.175e-05/0.8774, allocations: 136.7 kB / 1.331 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.8774, allocations: 24.27 kB / 1.331 GB, free: 19.6 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/0.8778, allocations: 167.6 kB / 1.331 GB, free: 19.53 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.8778, allocations: 1.156 kB / 1.331 GB, free: 19.53 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.8778, allocations: 2.031 kB / 1.331 GB, free: 19.53 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.8778, allocations: 0 / 1.331 GB, free: 19.53 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.8779, allocations: 237.7 kB / 1.331 GB, free: 19.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.8779, allocations: 4 kB / 1.331 GB, free: 19.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.246e-05/0.878, allocations: 18.67 kB / 1.331 GB, free: 19.31 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.878, allocations: 0 / 1.331 GB, free: 19.31 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.8781, allocations: 1.922 kB / 1.331 GB, free: 19.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.8781, allocations: 4.547 kB / 1.331 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.8781, allocations: 1.5 kB / 1.331 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.8784, allocations: 179.6 kB / 1.331 GB, free: 19.21 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.555e-05/0.8784, allocations: 109.6 kB / 1.331 GB, free: 19.1 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.8785, allocations: 1.766 kB / 1.331 GB, free: 19.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.748e-05/0.8786, allocations: 4.953 kB / 1.331 GB, free: 19.1 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.8786, allocations: 9.078 kB / 1.331 GB, free: 19.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.8786, allocations: 1.406 kB / 1.331 GB, free: 19.09 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00018/0.8788, allocations: 199.9 kB / 1.332 GB, free: 18.99 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8788, allocations: 0 / 1.332 GB, free: 18.99 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004523/0.8792, allocations: 116.3 kB / 1.332 GB, free: 18.97 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 (6): * Single equations (assignments): 6 * 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.000504/0.8798, allocations: 258.9 kB / 1.332 GB, free: 18.85 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005382/0.8803, allocations: 320.2 kB / 1.332 GB, free: 18.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8803, allocations: 0.9062 kB / 1.332 GB, free: 18.73 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.8804, allocations: 56.28 kB / 1.332 GB, free: 18.72 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.8807, allocations: 34.64 kB / 1.332 GB, free: 18.71 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006099/0.8813, allocations: 437.1 kB / 1.333 GB, free: 18.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.8815, allocations: 0.7351 MB / 1.333 GB, free: 17.74 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/0.8816, allocations: 20.78 kB / 1.334 GB, free: 17.73 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.8816, allocations: 1.031 kB / 1.334 GB, free: 17.73 MB / 1.061 GB Notification: Performance of Templates: time 0.00617/0.8877, allocations: 3.187 MB / 1.337 GB, free: 17.42 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.654479784992873]