Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0017/0.001701, allocations: 116.7 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002126/0.002126, allocations: 192.6 kB / 17.31 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.183/2.183, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002659/0.002659, allocations: 61.2 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4025, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.004099/0.4066, allocations: 1.581 MB / 0.9527 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002029/0.4087, allocations: 0.9267 MB / 0.9536 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.973e-05/0.4088, allocations: 3.938 kB / 0.9536 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.4091, allocations: 63.7 kB / 0.9536 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005958/0.4097, allocations: 151.2 kB / 0.9538 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.747e-05/0.4098, allocations: 4 kB / 0.9538 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004261/0.4102, allocations: 374.3 kB / 0.9541 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.443e-05/0.4103, allocations: 44.73 kB / 0.9542 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.4105, allocations: 139.3 kB / 0.9543 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.4107, allocations: 139.3 kB / 0.9544 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.4107, allocations: 16 kB / 0.9545 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.104e-05/0.4108, allocations: 16 kB / 0.9545 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.353e-05/0.4109, allocations: 47.77 kB / 0.9545 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.411, allocations: 135.2 kB / 0.9546 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.4113, allocations: 290.9 kB / 0.9549 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.4113, allocations: 0 / 0.9549 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4113, allocations: 4 kB / 0.9549 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.4113, allocations: 0 / 0.9549 GB, free: 4.152 MB / 0.7325 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.001033/0.4123, allocations: 0.6262 MB / 0.9555 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.4124, allocations: 8.031 kB / 0.9555 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.525e-05/0.4124, allocations: 36.56 kB / 0.9556 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005222/0.413, allocations: 386.3 kB / 0.9559 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.413, allocations: 384 / 0.9559 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.413, allocations: 4.375 kB / 0.956 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.4131, allocations: 105.3 kB / 0.9561 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.4132, allocations: 0 / 0.9561 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.4132, allocations: 4 kB / 0.9561 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.4132, allocations: 0 / 0.9561 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.436e-05/0.4133, allocations: 67.88 kB / 0.9561 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.4137, allocations: 352.1 kB / 0.9565 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.4138, allocations: 110.4 kB / 0.9566 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.841e-05/0.4139, allocations: 63.44 kB / 0.9566 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.4139, allocations: 4 kB / 0.9566 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.4139, allocations: 46.44 kB / 0.9567 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.4139, allocations: 3.938 kB / 0.9567 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003129/0.4142, allocations: 181.1 kB / 0.9568 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.4143, allocations: 132.5 kB / 0.957 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005589/0.4149, allocations: 0.521 MB / 0.9575 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.4149, allocations: 25.7 kB / 0.9575 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.415, allocations: 160.6 kB / 0.9577 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.415, allocations: 15.81 kB / 0.9577 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.4151, allocations: 21.7 kB / 0.9577 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.4152, allocations: 342.8 kB / 0.958 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.179e-05/0.4153, allocations: 31.95 kB / 0.9581 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.383e-05/0.4153, allocations: 63.39 kB / 0.9581 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.4155, allocations: 103.3 kB / 0.9582 GB, free: 480 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.4155, allocations: 0 / 0.9582 GB, free: 480 kB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001961/0.4157, allocations: 145.1 kB / 0.9583 GB, free: 328 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.4157, allocations: 7.938 kB / 0.9584 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.4157, allocations: 0 / 0.9584 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4157, allocations: 7.984 kB / 0.9584 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.4158, allocations: 20.06 kB / 0.9584 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.4158, allocations: 7.969 kB / 0.9584 GB, free: 284 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.416, allocations: 7.984 kB / 0.9584 GB, free: 276 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.416, allocations: 8 kB / 0.9584 GB, free: 268 kB / 0.7325 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.0001396/0.4161, allocations: 175.7 kB / 0.9586 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.4162, allocations: 39.47 kB / 0.9586 GB, free: 44 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003168/0.4165, allocations: 187.8 kB / 0.9588 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.4165, allocations: 4 kB / 0.9588 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4165, allocations: 0 / 0.9588 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4166, allocations: 0 / 0.9588 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.4168, allocations: 309.3 kB / 0.9591 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4168, allocations: 4 kB / 0.9591 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.593e-05/0.4169, allocations: 19.92 kB / 0.9591 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4169, allocations: 3.938 kB / 0.9591 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.4169, allocations: 4 kB / 0.9591 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4169, allocations: 0 / 0.9591 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.417, allocations: 4.125 kB / 0.9591 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.4172, allocations: 187.3 kB / 0.9593 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.4174, allocations: 140.5 kB / 0.9594 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.4174, allocations: 3.938 kB / 0.9594 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.4175, allocations: 15.98 kB / 0.9595 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.4176, allocations: 15.92 kB / 0.9595 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.4176, allocations: 0 / 0.9595 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004201/0.418, allocations: 391 kB / 0.9598 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.418, allocations: 0 / 0.9598 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002391/0.4183, allocations: 47.94 kB / 0.9599 GB, free: 14.63 MB / 0.7481 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 8.965e-05/0.4184, allocations: 95.25 kB / 0.96 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001617/0.4185, allocations: 91.84 kB / 0.9601 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4185, allocations: 0 / 0.9601 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.501e-05/0.4186, allocations: 51.89 kB / 0.9601 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.419, allocations: 70.05 kB / 0.9602 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008514/0.4198, allocations: 0.5731 MB / 0.9607 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.4202, allocations: 0.8181 MB / 0.9615 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.4203, allocations: 50.27 kB / 0.9616 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.311e-05/0.4204, allocations: 27.38 kB / 0.9616 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.4204, allocations: 0 / 0.9616 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of Templates: time 0.006653/0.427, allocations: 3.568 MB / 0.9651 GB, free: 9.273 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches