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.001614/0.001614, allocations: 81.7 kB / 19.76 MB, free: 2.02 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.001981/0.001981, allocations: 162.2 kB / 23.02 MB, free: 4.945 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.524/1.524, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.918/2.918, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 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.002136/0.002136, allocations: 63.89 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8762/0.8783, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002437/0.8808, allocations: 1.649 MB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001903/0.8827, allocations: 1.282 MB / 1.189 GB, free: 14.24 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.066e-05/0.8828, allocations: 4.031 kB / 1.189 GB, free: 14.24 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.8831, allocations: 78.75 kB / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.8832, allocations: 78.5 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007185/0.884, allocations: 288.7 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.8842, allocations: 184.8 kB / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.8842, allocations: 10.86 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.8844, allocations: 84.44 kB / 1.19 GB, free: 13.92 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.8845, allocations: 79.8 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.8845, allocations: 8.031 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005553/0.8851, allocations: 329.6 kB / 1.191 GB, free: 13.8 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.471e-05/0.8851, allocations: 74.31 kB / 1.191 GB, free: 13.78 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.657e-05/0.8852, allocations: 73.19 kB / 1.191 GB, free: 13.75 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005656/0.8858, allocations: 390.2 kB / 1.191 GB, free: 13.63 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.8858, allocations: 4 kB / 1.191 GB, free: 13.63 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8858, allocations: 0 / 1.191 GB, free: 13.63 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.8858, allocations: 0 / 1.191 GB, free: 13.63 MB / 1.076 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.0009247/0.8867, allocations: 494.3 kB / 1.192 GB, free: 13.24 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.8868, allocations: 13.81 kB / 1.192 GB, free: 13.23 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.333e-05/0.8868, allocations: 26.3 kB / 1.192 GB, free: 13.22 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/0.8873, allocations: 219.4 kB / 1.192 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.8875, allocations: 142.8 kB / 1.192 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.8875, allocations: 3.328 kB / 1.192 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.8878, allocations: 88.95 kB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.8878, allocations: 0 / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.8878, allocations: 0.7188 kB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.8878, allocations: 0.7812 kB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.8881, allocations: 104.7 kB / 1.192 GB, free: 12.82 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/0.8883, allocations: 196.2 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.8897, allocations: 294.4 kB / 1.193 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.8898, allocations: 56.17 kB / 1.193 GB, free: 12.59 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.8899, allocations: 29.36 kB / 1.193 GB, free: 12.59 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.297e-05/0.8899, allocations: 36.58 kB / 1.193 GB, free: 12.54 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.8899, allocations: 0 / 1.193 GB, free: 12.54 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.0004516/0.8904, allocations: 214.4 kB / 1.193 GB, free: 12.47 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.936e-05/0.8904, allocations: 52.38 kB / 1.193 GB, free: 12.41 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.8907, allocations: 302.9 kB / 1.193 GB, free: 12.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.8907, allocations: 30.86 kB / 1.193 GB, free: 12.2 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.8907, allocations: 126.8 kB / 1.193 GB, free: 12.09 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.8907, allocations: 19.48 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.991e-05/0.8908, allocations: 61.53 kB / 1.193 GB, free: 12.04 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.081e-05/0.8909, allocations: 332.2 kB / 1.194 GB, free: 11.72 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.8911, allocations: 153.3 kB / 1.194 GB, free: 11.68 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.8913, allocations: 153.8 kB / 1.194 GB, free: 11.64 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.8917, allocations: 303 kB / 1.194 GB, free: 11.53 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8917, allocations: 0 / 1.194 GB, free: 11.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005449/0.8922, allocations: 402.7 kB / 1.195 GB, free: 11.39 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.8922, allocations: 12.78 kB / 1.195 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.8922, allocations: 3.156 kB / 1.195 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.8923, allocations: 1.062 kB / 1.195 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.532e-05/0.8924, allocations: 18.16 kB / 1.195 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.8924, allocations: 0 / 1.195 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.8925, allocations: 34.66 kB / 1.195 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.8925, allocations: 2.688 kB / 1.195 GB, free: 11.36 MB / 1.076 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 7.99e-05/0.8926, allocations: 132.3 kB / 1.195 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.8926, allocations: 32.53 kB / 1.195 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003407/0.8929, allocations: 168.3 kB / 1.195 GB, free: 11.15 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.8929, allocations: 1.438 kB / 1.195 GB, free: 11.15 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8929, allocations: 1.125 kB / 1.195 GB, free: 11.15 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.8929, allocations: 0.7031 kB / 1.195 GB, free: 11.15 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.8931, allocations: 177.9 kB / 1.195 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8931, allocations: 1.125 kB / 1.195 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.946e-05/0.8932, allocations: 16.95 kB / 1.195 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.8932, allocations: 1.281 kB / 1.195 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.8932, allocations: 5.688 kB / 1.195 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.8932, allocations: 0 / 1.195 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.8932, allocations: 1.156 kB / 1.195 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.8935, allocations: 181.5 kB / 1.196 GB, free: 10.9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/0.8935, allocations: 40.14 kB / 1.196 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.8936, allocations: 5.703 kB / 1.196 GB, free: 10.87 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/0.8937, allocations: 4.484 kB / 1.196 GB, free: 10.87 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.8937, allocations: 9.109 kB / 1.196 GB, free: 10.87 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.8937, allocations: 3.547 kB / 1.196 GB, free: 10.87 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001534/0.8939, allocations: 203 kB / 1.196 GB, free: 10.76 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.8939, allocations: 0 / 1.196 GB, free: 10.76 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004014/0.8943, allocations: 115.9 kB / 1.196 GB, free: 10.74 MB / 1.076 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.0004545/0.8947, allocations: 262.7 kB / 1.196 GB, free: 10.62 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000466/0.8952, allocations: 311 kB / 1.196 GB, free: 10.5 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8952, allocations: 0 / 1.196 GB, free: 10.5 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.8953, allocations: 61.91 kB / 1.196 GB, free: 10.49 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.8956, allocations: 38.53 kB / 1.197 GB, free: 10.47 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005453/0.8961, allocations: 402.4 kB / 1.197 GB, free: 10.23 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.8963, allocations: 129.2 kB / 1.197 GB, free: 10.15 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.749e-05/0.8963, allocations: 13.7 kB / 1.197 GB, free: 10.15 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.8964, allocations: 20.47 kB / 1.197 GB, free: 10.14 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.8964, allocations: 0.7812 kB / 1.197 GB, free: 10.14 MB / 1.076 GB Notification: Performance of Templates: time 0.008522/0.9049, allocations: 3.219 MB / 1.2 GB, free: 9.809 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.060606279992498]