Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001999/0.001999, 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.002504/0.002504, allocations: 212.9 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.805 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.567/3.567, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_latest_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_latest_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.002202/0.002202, allocations: 68.28 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.403, allocations: 181.9 MB / 1.364 GB, free: 13.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003049/0.4061, allocations: 1.633 MB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002301/0.4084, allocations: 1.286 MB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.234e-05/0.4085, allocations: 4 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003907/0.4089, allocations: 87.47 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.409, allocations: 75.58 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007749/0.4098, allocations: 287.1 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.4101, allocations: 183.2 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.967e-05/0.4102, allocations: 5.688 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.4103, allocations: 87.69 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.4105, allocations: 75.61 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.4105, allocations: 12 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000669/0.4111, allocations: 331.5 kB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.742e-05/0.4112, allocations: 71.72 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.55e-05/0.4113, allocations: 71.61 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005636/0.4119, allocations: 398.6 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.4119, allocations: 0 / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4119, allocations: 0 / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.4119, allocations: 0 / 1.368 GB, free: 9.156 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.0009344/0.4128, allocations: 0.4888 MB / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.4129, allocations: 8.031 kB / 1.369 GB, free: 8.629 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.002e-05/0.4129, allocations: 28.78 kB / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004761/0.4134, allocations: 222.6 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/0.4136, allocations: 137.1 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.4136, allocations: 384 / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.4139, allocations: 93.77 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.4139, allocations: 3.938 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.4139, allocations: 4 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.4139, allocations: 0 / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.4141, allocations: 99.94 kB / 1.369 GB, free: 7.996 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.4144, allocations: 193.2 kB / 1.37 GB, free: 7.777 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.4158, allocations: 294.3 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.4159, allocations: 56.83 kB / 1.37 GB, free: 7.422 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.781e-05/0.416, allocations: 23.89 kB / 1.37 GB, free: 7.398 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.4161, allocations: 34.56 kB / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.4161, allocations: 0 / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0005201/0.4166, allocations: 217.3 kB / 1.37 GB, free: 7.137 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.4166, allocations: 55.41 kB / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.417, allocations: 308.4 kB / 1.37 GB, free: 6.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.417, allocations: 29.7 kB / 1.371 GB, free: 6.715 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.638e-05/0.4171, allocations: 128.5 kB / 1.371 GB, free: 6.586 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.4171, allocations: 23.84 kB / 1.371 GB, free: 6.562 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.181e-05/0.4172, allocations: 57.69 kB / 1.371 GB, free: 6.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.4173, allocations: 326.8 kB / 1.371 GB, free: 6.172 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.4176, allocations: 155.9 kB / 1.371 GB, free: 6.02 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.4178, allocations: 155.9 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/0.4182, allocations: 301.4 kB / 1.372 GB, free: 5.57 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4182, allocations: 0 / 1.372 GB, free: 5.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006728/0.4189, allocations: 396.9 kB / 1.372 GB, free: 5.176 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.4189, allocations: 7.938 kB / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.4189, allocations: 8 kB / 1.372 GB, free: 5.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.419, allocations: 0 / 1.372 GB, free: 5.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.4191, allocations: 19.98 kB / 1.372 GB, free: 5.141 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4191, allocations: 0 / 1.372 GB, free: 5.141 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.4192, allocations: 31.67 kB / 1.372 GB, free: 5.109 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.4192, allocations: 4 kB / 1.372 GB, free: 5.105 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 0.0001302/0.4193, allocations: 130.9 kB / 1.372 GB, free: 4.969 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.4194, allocations: 31.73 kB / 1.372 GB, free: 4.938 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003952/0.4198, allocations: 171.4 kB / 1.372 GB, free: 4.762 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.4198, allocations: 4 kB / 1.372 GB, free: 4.758 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4198, allocations: 0 / 1.372 GB, free: 4.758 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.4198, allocations: 0 / 1.372 GB, free: 4.758 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.42, allocations: 181.2 kB / 1.373 GB, free: 4.551 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.42, allocations: 0 / 1.373 GB, free: 4.551 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.4201, allocations: 19.98 kB / 1.373 GB, free: 4.531 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4201, allocations: 0 / 1.373 GB, free: 4.531 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.4202, allocations: 3.938 kB / 1.373 GB, free: 4.527 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.4202, allocations: 0 / 1.373 GB, free: 4.527 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4202, allocations: 3.938 kB / 1.373 GB, free: 4.523 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.4205, allocations: 189.2 kB / 1.373 GB, free: 4.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.904e-05/0.4206, allocations: 31.8 kB / 1.373 GB, free: 4.289 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.4206, allocations: 11.94 kB / 1.373 GB, free: 4.277 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.537e-05/0.4207, allocations: 4 kB / 1.373 GB, free: 4.273 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.4207, allocations: 7.984 kB / 1.373 GB, free: 4.266 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.4207, allocations: 0 / 1.373 GB, free: 4.266 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002024/0.4209, allocations: 199.1 kB / 1.373 GB, free: 4.074 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.421, allocations: 3.938 kB / 1.373 GB, free: 4.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003931/0.4213, allocations: 111.8 kB / 1.373 GB, free: 3.961 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.0005182/0.4219, allocations: 270.8 kB / 1.373 GB, free: 3.684 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005554/0.4224, allocations: 311.2 kB / 1.374 GB, free: 3.367 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4224, allocations: 0 / 1.374 GB, free: 3.367 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.4226, allocations: 55.95 kB / 1.374 GB, free: 3.312 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.4229, allocations: 36.64 kB / 1.374 GB, free: 3.273 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006981/0.4236, allocations: 395.1 kB / 1.374 GB, free: 2.863 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.4237, allocations: 132 kB / 1.374 GB, free: 2.715 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.947e-05/0.4238, allocations: 17.38 kB / 1.374 GB, free: 2.699 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.4238, allocations: 15.44 kB / 1.374 GB, free: 2.684 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.4238, allocations: 0 / 1.374 GB, free: 2.684 MB / 1.061 GB Notification: Performance of Templates: time 0.008457/0.4323, allocations: 3.518 MB / 1.378 GB, free: 15.23 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.786908777430654]