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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001109/0.001109, allocations: 101.1 kB / 16.27 MB, free: 5.969 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.001102/0.001102, allocations: 194.8 kB / 17.2 MB, free: 5.594 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.311/1.311, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.175/2.175, allocations: 390.2 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.41 kB / 0.8132 GB, free: 33.12 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2619, allocations: 140.4 MB / 0.9503 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.003263/0.2652, allocations: 1.596 MB / 0.9518 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001676/0.2669, allocations: 0.915 MB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.2671, allocations: 4 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.2674, allocations: 59.64 kB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005258/0.268, allocations: 155.2 kB / 0.9529 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.92e-05/0.268, allocations: 8 kB / 0.9529 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004166/0.2684, allocations: 370.3 kB / 0.9533 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.117e-05/0.2685, allocations: 52.72 kB / 0.9533 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.2688, allocations: 139.4 kB / 0.9535 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.2691, allocations: 139.3 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.2691, allocations: 16 kB / 0.9536 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.074e-05/0.2692, allocations: 16 kB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.977e-05/0.2692, allocations: 47.77 kB / 0.9537 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.2694, allocations: 135.2 kB / 0.9538 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.2697, allocations: 279.2 kB / 0.9541 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2697, allocations: 4 kB / 0.9541 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2697, allocations: 0 / 0.9541 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.2697, allocations: 0 / 0.9541 GB, free: 4.988 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.001121/0.2709, allocations: 0.6276 MB / 0.9547 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2709, allocations: 12.03 kB / 0.9547 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.324e-05/0.271, allocations: 28.56 kB / 0.9547 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/0.2715, allocations: 382.3 kB / 0.9551 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.2715, allocations: 384 / 0.9551 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.2715, allocations: 4.375 kB / 0.9551 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.2717, allocations: 105.3 kB / 0.9552 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2717, allocations: 4 kB / 0.9552 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.2717, allocations: 3.938 kB / 0.9552 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2717, allocations: 0 / 0.9552 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.2718, allocations: 75.86 kB / 0.9553 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.2722, allocations: 348.1 kB / 0.9556 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.2724, allocations: 106.4 kB / 0.9557 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.518e-05/0.2725, allocations: 59.45 kB / 0.9558 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.2725, allocations: 4 kB / 0.9558 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.2725, allocations: 46.44 kB / 0.9558 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.2725, allocations: 0 / 0.9558 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003775/0.2729, allocations: 181.1 kB / 0.956 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.273, allocations: 132.5 kB / 0.9561 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/0.2736, allocations: 0.5171 MB / 0.9566 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.2736, allocations: 26.2 kB / 0.9566 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.2737, allocations: 164.1 kB / 0.9568 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.2738, allocations: 11.81 kB / 0.9568 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/0.2738, allocations: 25.7 kB / 0.9568 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.274, allocations: 346.8 kB / 0.9572 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.331e-05/0.274, allocations: 27.97 kB / 0.9572 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.2741, allocations: 63.39 kB / 0.9572 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.2743, allocations: 103.3 kB / 0.9573 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2743, allocations: 0 / 0.9573 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002157/0.2745, allocations: 153.1 kB / 0.9575 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2745, allocations: 11.88 kB / 0.9575 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2745, allocations: 0 / 0.9575 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.2745, allocations: 8.219 kB / 0.9575 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.2747, allocations: 15.97 kB / 0.9575 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2747, allocations: 0 / 0.9575 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.2748, allocations: 7.984 kB / 0.9575 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.2748, allocations: 4 kB / 0.9575 GB, free: 1.113 MB / 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.0001516/0.275, allocations: 177.3 kB / 0.9577 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.275, allocations: 39.47 kB / 0.9577 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.2754, allocations: 187.7 kB / 0.9579 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2754, allocations: 4 kB / 0.9579 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2754, allocations: 0 / 0.9579 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.2754, allocations: 3.984 kB / 0.9579 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.2757, allocations: 309.3 kB / 0.9582 GB, free: 352 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2757, allocations: 4 kB / 0.9582 GB, free: 348 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.145e-05/0.2758, allocations: 19.98 kB / 0.9582 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.2758, allocations: 8 kB / 0.9583 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.2758, allocations: 8 kB / 0.9583 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2758, allocations: 4 kB / 0.9583 GB, free: 308 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2758, allocations: 0 / 0.9583 GB, free: 308 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.2761, allocations: 183.3 kB / 0.9584 GB, free: 96 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.2763, allocations: 144.5 kB / 0.9586 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-05/0.2763, allocations: 3.938 kB / 0.9586 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.2765, allocations: 11.98 kB / 0.9586 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.2765, allocations: 15.92 kB / 0.9586 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.2765, allocations: 0 / 0.9586 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004639/0.277, allocations: 391 kB / 0.959 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.277, allocations: 0 / 0.959 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002565/0.2773, allocations: 44 kB / 0.959 GB, free: 15.48 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 0.0001174/0.2774, allocations: 103.2 kB / 0.9591 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001745/0.2776, allocations: 87.84 kB / 0.9592 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2776, allocations: 0 / 0.9592 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.339e-05/0.2776, allocations: 51.91 kB / 0.9593 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.278, allocations: 72.56 kB / 0.9593 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009867/0.279, allocations: 0.5982 MB / 0.9599 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.2794, allocations: 0.8181 MB / 0.9607 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.438e-05/0.2795, allocations: 19.44 kB / 0.9607 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.2795, allocations: 0 / 0.9607 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of Templates: time 0.006152/0.2857, allocations: 3.697 MB / 0.9643 GB, free: 9.98 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 -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