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.001463/0.001463, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001734/0.001734, allocations: 215.8 kB / 23.01 MB, free: 4.602 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.359/1.359, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.884/2.884, allocations: 0.49 GB / 0.7958 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] 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.001916/0.001916, allocations: 77.02 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2899, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002721/0.2926, allocations: 1.71 MB / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002057/0.2946, allocations: 1.417 MB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.197e-05/0.2947, allocations: 7.938 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.295, allocations: 87.56 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.2952, allocations: 75.52 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.2958, allocations: 276.5 kB / 1.331 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.296, allocations: 187.2 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.2961, allocations: 9.672 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.2962, allocations: 87.62 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.2964, allocations: 79.67 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.2964, allocations: 11.94 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005326/0.2969, allocations: 363.4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.925e-05/0.297, allocations: 71.78 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.746e-05/0.2971, allocations: 91.36 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004915/0.2976, allocations: 394.6 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2976, allocations: 4 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2976, allocations: 0 / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2976, allocations: 0 / 1.332 GB, free: 12.61 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008488/0.2984, allocations: 0.4888 MB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.2985, allocations: 12.03 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.2985, allocations: 28.75 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.2989, allocations: 214.6 kB / 1.333 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.2991, allocations: 137.1 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.2991, allocations: 8.375 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.2993, allocations: 97.7 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2993, allocations: 0 / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2993, allocations: 0 / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2993, allocations: 0 / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.2996, allocations: 99.94 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.2998, allocations: 224.6 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.3011, allocations: 294.4 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.3012, allocations: 60.77 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.3013, allocations: 23.89 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.3014, allocations: 38.5 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.3014, allocations: 0 / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004605/0.3018, allocations: 205.5 kB / 1.334 GB, free: 10.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.3019, allocations: 55.41 kB / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.3022, allocations: 312.3 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.3022, allocations: 25.7 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.3023, allocations: 120.6 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.3023, allocations: 19.84 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.455e-05/0.3024, allocations: 57.69 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3025, allocations: 334.8 kB / 1.335 GB, free: 9.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.3027, allocations: 159.9 kB / 1.335 GB, free: 9.434 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.3029, allocations: 155.7 kB / 1.335 GB, free: 9.281 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.3033, allocations: 297.4 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3033, allocations: 0 / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005212/0.3039, allocations: 401.1 kB / 1.336 GB, free: 8.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3039, allocations: 4 kB / 1.336 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.3039, allocations: 4 kB / 1.336 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.3039, allocations: 0 / 1.336 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.356e-05/0.304, allocations: 23.86 kB / 1.336 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.304, allocations: 0 / 1.336 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.3041, allocations: 43.62 kB / 1.336 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.3041, allocations: 0 / 1.336 GB, free: 8.516 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 (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 0.0001061/0.3042, allocations: 134.3 kB / 1.336 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.3043, allocations: 27.73 kB / 1.336 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/0.3046, allocations: 159.5 kB / 1.336 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3046, allocations: 4 kB / 1.336 GB, free: 8.184 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.3046, allocations: 0 / 1.336 GB, free: 8.184 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3046, allocations: 0 / 1.336 GB, free: 8.184 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.3048, allocations: 212.6 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3048, allocations: 7.938 kB / 1.336 GB, free: 7.926 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-05/0.3049, allocations: 15.92 kB / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3049, allocations: 7.984 kB / 1.336 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.3049, allocations: 4 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3049, allocations: 320 / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3049, allocations: 0 / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.3052, allocations: 188.9 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.494e-05/0.3053, allocations: 35.77 kB / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.3053, allocations: 0 / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.027e-05/0.3054, allocations: 8 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.3054, allocations: 3.984 kB / 1.336 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.3054, allocations: 4 kB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001749/0.3056, allocations: 203 kB / 1.337 GB, free: 7.449 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3056, allocations: 0 / 1.337 GB, free: 7.449 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003813/0.306, allocations: 111.8 kB / 1.337 GB, free: 7.34 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 (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.0004448/0.3064, allocations: 258.8 kB / 1.337 GB, free: 7.074 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004757/0.3069, allocations: 311.3 kB / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3069, allocations: 0 / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.307, allocations: 59.91 kB / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.3073, allocations: 40.62 kB / 1.337 GB, free: 6.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006331/0.3079, allocations: 434.1 kB / 1.338 GB, free: 6.203 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.3083, allocations: 0.7359 MB / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.3083, allocations: 23.42 kB / 1.338 GB, free: 5.418 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3083, allocations: 3.938 kB / 1.338 GB, free: 5.414 MB / 1.029 GB Notification: Performance of Templates: time 0.006128/0.3144, allocations: 3.182 MB / 1.342 GB, free: 2.246 MB / 1.029 GB " [Timeout remaining time 300] 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: 10.695356145995902]