Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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.001947/0.001947, allocations: 78.41 kB / 19.18 MB, free: 2.531 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.0028/0.0028, allocations: 168.7 kB / 22.46 MB, free: 5.363 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.451/1.451, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.81/2.81, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.337e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002633/0.002657, allocations: 1.558 MB / 0.9829 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.004133, allocations: 0.8683 MB / 0.9838 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.694e-05/0.0042, allocations: 7.938 kB / 0.9838 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.004436, allocations: 55.61 kB / 0.9838 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004809/0.004917, allocations: 151.2 kB / 0.984 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.586e-05/0.004953, allocations: 7.938 kB / 0.984 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004871/0.00544, allocations: 391.4 kB / 0.9843 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.026e-05/0.00549, allocations: 12.94 kB / 0.9844 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000339/0.005829, allocations: 199.4 kB / 0.9845 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.00605, allocations: 127.7 kB / 0.9847 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.97e-05/0.00609, allocations: 16 kB / 0.9847 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.51e-05/0.006135, allocations: 15.94 kB / 0.9847 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.876e-05/0.006214, allocations: 51.72 kB / 0.9847 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.006342, allocations: 83.77 kB / 0.9848 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.006675, allocations: 271.1 kB / 0.9851 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.006679, allocations: 0 / 0.9851 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.62e-07/0.00668, allocations: 0 / 0.9851 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.006685, allocations: 0 / 0.9851 GB, free: 8.18 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001111/0.007797, allocations: 0.5743 MB / 0.9856 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.007831, allocations: 8.031 kB / 0.9857 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.452e-05/0.007906, allocations: 36.7 kB / 0.9857 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005149/0.008421, allocations: 328 kB / 0.986 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.008431, allocations: 4.375 kB / 0.986 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.008446, allocations: 4.375 kB / 0.986 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.00862, allocations: 101.6 kB / 0.9861 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.008628, allocations: 192 / 0.9861 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.008642, allocations: 4.359 kB / 0.9861 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.008648, allocations: 3.938 kB / 0.9861 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.008752, allocations: 63.88 kB / 0.9862 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.009138, allocations: 275.8 kB / 0.9864 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.009288, allocations: 102.4 kB / 0.9865 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.322e-05/0.009382, allocations: 59.45 kB / 0.9866 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.009402, allocations: 8 kB / 0.9866 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.009434, allocations: 46.5 kB / 0.9866 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.009435, allocations: 0 / 0.9866 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.000361/0.009796, allocations: 185.2 kB / 0.9868 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.678e-05/0.009883, allocations: 132.5 kB / 0.9869 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006736/0.01056, allocations: 0.5132 MB / 0.9874 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.01058, allocations: 25.7 kB / 0.9875 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.01072, allocations: 160.1 kB / 0.9876 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.01075, allocations: 24.33 kB / 0.9876 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.0108, allocations: 21.72 kB / 0.9877 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.01099, allocations: 346.8 kB / 0.988 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.975e-05/0.01105, allocations: 31.97 kB / 0.988 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.044e-05/0.01113, allocations: 59.39 kB / 0.9881 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.01129, allocations: 99.3 kB / 0.9882 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01129, allocations: 0 / 0.9882 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002407/0.01154, allocations: 161.3 kB / 0.9883 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.01155, allocations: 4 kB / 0.9883 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.01155, allocations: 0 / 0.9883 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.01157, allocations: 4 kB / 0.9883 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.01168, allocations: 11.98 kB / 0.9884 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.01169, allocations: 7.875 kB / 0.9884 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.01184, allocations: 11.92 kB / 0.9884 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.01185, allocations: 4 kB / 0.9884 GB, free: 4.531 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 0.0001721/0.01202, allocations: 177.8 kB / 0.9885 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.01207, allocations: 27.81 kB / 0.9886 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003581/0.01242, allocations: 191.8 kB / 0.9888 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.01243, allocations: 4 kB / 0.9888 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.01243, allocations: 3.938 kB / 0.9888 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.01244, allocations: 7.984 kB / 0.9888 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.01271, allocations: 229.1 kB / 0.989 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.01271, allocations: 3.984 kB / 0.989 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.804e-05/0.0128, allocations: 12 kB / 0.989 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.0128, allocations: 0 / 0.989 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.01283, allocations: 8.125 kB / 0.989 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.01283, allocations: 3.938 kB / 0.989 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01283, allocations: 0 / 0.989 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.01311, allocations: 195.3 kB / 0.9892 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.01325, allocations: 59.78 kB / 0.9893 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/0.01329, allocations: 4 kB / 0.9893 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.01344, allocations: 11.98 kB / 0.9893 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.01347, allocations: 11.92 kB / 0.9893 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.01348, allocations: 7.938 kB / 0.9893 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005003/0.01398, allocations: 399 kB / 0.9897 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.01398, allocations: 4 kB / 0.9897 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002596/0.01424, allocations: 36 kB / 0.9897 GB, free: 3.094 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.000106/0.01435, allocations: 95.25 kB / 0.9898 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001887/0.01454, allocations: 83.94 kB / 0.9899 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01454, allocations: 0 / 0.9899 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.077e-05/0.01462, allocations: 51.91 kB / 0.9899 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.01499, allocations: 76.48 kB / 0.99 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.01602, allocations: 0.5801 MB / 0.9906 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.01623, allocations: 203.4 kB / 0.9908 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000128/0.01635, allocations: 62.23 kB / 0.9908 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.431e-05/0.01644, allocations: 24.5 kB / 0.9909 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.01644, allocations: 3.938 kB / 0.9909 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of Templates: time 0.008382/0.02482, allocations: 3.834 MB / 0.9946 GB, free: 14.12 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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: 7.795653872191906]