Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001921/0.001921, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002405/0.002405, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.563/1.563, allocations: 177.2 MB / 202.8 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.711/2.711, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.396e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002848/0.002872, allocations: 1.565 MB / 0.9525 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.004437, allocations: 0.8729 MB / 0.9533 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.171e-05/0.004519, allocations: 0 / 0.9533 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.004809, allocations: 55.62 kB / 0.9534 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005016/0.00531, allocations: 147.2 kB / 0.9535 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.098e-05/0.005351, allocations: 11.97 kB / 0.9535 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000498/0.005849, allocations: 386 kB / 0.9539 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.631e-05/0.005906, allocations: 12.92 kB / 0.9539 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003752/0.006281, allocations: 211.3 kB / 0.9541 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.006514, allocations: 131.6 kB / 0.9542 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.006555, allocations: 12 kB / 0.9542 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.907e-05/0.006605, allocations: 16 kB / 0.9543 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.411e-05/0.006689, allocations: 43.78 kB / 0.9543 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.006818, allocations: 87.72 kB / 0.9544 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.007164, allocations: 275.1 kB / 0.9546 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.007167, allocations: 0 / 0.9546 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.42e-07/0.007168, allocations: 0 / 0.9546 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.007178, allocations: 0 / 0.9546 GB, free: 7.773 MB / 0.8575 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.001188/0.008366, allocations: 0.5627 MB / 0.9552 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.008402, allocations: 8.031 kB / 0.9552 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.528e-05/0.008467, allocations: 32.69 kB / 0.9552 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005739/0.009041, allocations: 336 kB / 0.9556 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.009053, allocations: 8.312 kB / 0.9556 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.009069, allocations: 4.375 kB / 0.9556 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.009242, allocations: 97.62 kB / 0.9557 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.009251, allocations: 192 / 0.9557 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.009267, allocations: 8.359 kB / 0.9557 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.009273, allocations: 3.938 kB / 0.9557 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.009391, allocations: 67.86 kB / 0.9557 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.009783, allocations: 267.9 kB / 0.956 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.00995, allocations: 110.3 kB / 0.9561 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.866e-05/0.01004, allocations: 59.45 kB / 0.9562 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.01006, allocations: 8 kB / 0.9562 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.01009, allocations: 34.56 kB / 0.9562 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.01009, allocations: 0 / 0.9562 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003817/0.01048, allocations: 185.2 kB / 0.9564 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.478e-05/0.01057, allocations: 136.5 kB / 0.9565 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006797/0.01125, allocations: 0.5171 MB / 0.957 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.01127, allocations: 25.7 kB / 0.957 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.01141, allocations: 160.6 kB / 0.9572 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.01145, allocations: 19.89 kB / 0.9572 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.0115, allocations: 25.7 kB / 0.9572 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.01168, allocations: 342.8 kB / 0.9576 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.849e-05/0.01175, allocations: 43.89 kB / 0.9576 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-05/0.01183, allocations: 55.41 kB / 0.9576 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.01199, allocations: 99.3 kB / 0.9577 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01199, allocations: 0 / 0.9577 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002432/0.01223, allocations: 153.4 kB / 0.9579 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.01225, allocations: 4 kB / 0.9579 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.01225, allocations: 0 / 0.9579 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.01227, allocations: 4 kB / 0.9579 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.01239, allocations: 7.984 kB / 0.9579 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.0124, allocations: 7.938 kB / 0.9579 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.01255, allocations: 15.88 kB / 0.9579 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.01256, allocations: 7.984 kB / 0.9579 GB, free: 4.133 MB / 0.8575 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.0001662/0.01273, allocations: 173.7 kB / 0.9581 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.01278, allocations: 39.92 kB / 0.9581 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/0.01312, allocations: 179.7 kB / 0.9583 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.01312, allocations: 4 kB / 0.9583 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.01313, allocations: 3.938 kB / 0.9583 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01313, allocations: 0 / 0.9583 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.01339, allocations: 225.1 kB / 0.9585 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.01339, allocations: 7.938 kB / 0.9585 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.704e-05/0.01349, allocations: 23.92 kB / 0.9586 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.01349, allocations: 128 / 0.9586 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.0135, allocations: 4 kB / 0.9586 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.01351, allocations: 4 kB / 0.9586 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01351, allocations: 0 / 0.9586 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.0138, allocations: 199.3 kB / 0.9588 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.01394, allocations: 63.73 kB / 0.9588 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.033e-05/0.01399, allocations: 4 kB / 0.9588 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.01414, allocations: 11.98 kB / 0.9588 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.01417, allocations: 12.02 kB / 0.9588 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.01418, allocations: 4 kB / 0.9588 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004914/0.01467, allocations: 395 kB / 0.9592 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.01467, allocations: 4 kB / 0.9592 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002572/0.01493, allocations: 36 kB / 0.9593 GB, free: 2.695 MB / 0.8575 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.0001293/0.01506, allocations: 107.2 kB / 0.9594 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.01525, allocations: 79.88 kB / 0.9594 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01525, allocations: 3.938 kB / 0.9594 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.961e-05/0.01533, allocations: 51.89 kB / 0.9595 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.01571, allocations: 70.14 kB / 0.9596 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.01677, allocations: 0.5764 MB / 0.9601 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.01698, allocations: 203.4 kB / 0.9603 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001263/0.0171, allocations: 50.27 kB / 0.9604 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.533e-05/0.0172, allocations: 32.48 kB / 0.9604 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.0172, allocations: 0 / 0.9604 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of Templates: time 0.00879/0.02599, allocations: 3.821 MB / 0.9641 GB, free: 13.73 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.91462354362011]