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.00108/0.00108, allocations: 101.9 kB / 16.35 MB, free: 5.824 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.001088/0.001088, allocations: 192.3 kB / 17.29 MB, free: 5.48 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.15 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.157/2.157, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001335, allocations: 65.27 kB / 0.814 GB, free: 32.82 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2337, 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.003212/0.2369, allocations: 1.577 MB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.2384, allocations: 0.9228 MB / 0.9536 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.799e-05/0.2385, allocations: 4 kB / 0.9536 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.2387, allocations: 59.66 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004158/0.2392, allocations: 143.3 kB / 0.9537 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.412e-05/0.2392, allocations: 15.92 kB / 0.9538 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.2396, allocations: 378.2 kB / 0.9541 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.833e-05/0.2397, allocations: 44.73 kB / 0.9542 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.2399, allocations: 135.4 kB / 0.9543 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.2401, allocations: 139.3 kB / 0.9544 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.2402, allocations: 16 kB / 0.9544 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.875e-05/0.2402, allocations: 16 kB / 0.9545 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.545e-05/0.2403, allocations: 55.7 kB / 0.9545 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.2404, allocations: 135.3 kB / 0.9546 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.2407, allocations: 282.9 kB / 0.9549 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.2407, allocations: 0 / 0.9549 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2407, allocations: 0 / 0.9549 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2407, allocations: 0 / 0.9549 GB, free: 4.164 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.001032/0.2418, allocations: 0.6301 MB / 0.9555 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2418, allocations: 8.031 kB / 0.9555 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/0.2419, allocations: 32.56 kB / 0.9556 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.2424, allocations: 390.2 kB / 0.9559 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.2424, allocations: 384 / 0.9559 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.2425, allocations: 4.375 kB / 0.9559 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.2426, allocations: 105.4 kB / 0.956 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2426, allocations: 0 / 0.956 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2426, allocations: 0 / 0.956 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.2427, allocations: 4 kB / 0.956 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.387e-05/0.2428, allocations: 63.88 kB / 0.9561 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.2431, allocations: 360.1 kB / 0.9565 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.2433, allocations: 114.3 kB / 0.9566 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.675e-05/0.2434, allocations: 63.45 kB / 0.9566 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.2434, allocations: 4 kB / 0.9566 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.2434, allocations: 42.44 kB / 0.9567 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.2434, allocations: 0 / 0.9567 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003433/0.2438, allocations: 177.1 kB / 0.9568 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/0.2439, allocations: 137 kB / 0.957 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005998/0.2445, allocations: 0.521 MB / 0.9575 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.2445, allocations: 29.7 kB / 0.9575 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.2446, allocations: 160.1 kB / 0.9577 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.2447, allocations: 11.81 kB / 0.9577 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-05/0.2447, allocations: 21.7 kB / 0.9577 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2449, allocations: 338.8 kB / 0.958 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.282e-05/0.245, allocations: 35.95 kB / 0.958 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.162e-05/0.245, allocations: 59.41 kB / 0.9581 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.2452, allocations: 103.3 kB / 0.9582 GB, free: 492 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2452, allocations: 0 / 0.9582 GB, free: 492 kB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002012/0.2454, allocations: 149.3 kB / 0.9583 GB, free: 336 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2454, allocations: 7.938 kB / 0.9583 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.2454, allocations: 7.984 kB / 0.9584 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.2454, allocations: 0 / 0.9584 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.2456, allocations: 15.92 kB / 0.9584 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2456, allocations: 0 / 0.9584 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.2457, allocations: 19.97 kB / 0.9584 GB, free: 284 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.2457, allocations: 0 / 0.9584 GB, free: 284 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.0001409/0.2459, allocations: 177.8 kB / 0.9586 GB, free: 96 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.246, allocations: 39.53 kB / 0.9586 GB, free: 56 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003426/0.2463, allocations: 183.7 kB / 0.9588 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.2463, allocations: 8 kB / 0.9588 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.2463, allocations: 0 / 0.9588 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2463, allocations: 3.938 kB / 0.9588 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.2467, allocations: 309.4 kB / 0.9591 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2467, allocations: 0 / 0.9591 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.064e-05/0.2468, allocations: 16.11 kB / 0.9591 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.2468, allocations: 7.938 kB / 0.9591 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.2468, allocations: 7.938 kB / 0.9591 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2468, allocations: 0 / 0.9591 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.2468, allocations: 3.938 kB / 0.9591 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.2471, allocations: 191.2 kB / 0.9593 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.2472, allocations: 144.5 kB / 0.9594 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.2473, allocations: 7.938 kB / 0.9594 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.2474, allocations: 7.984 kB / 0.9594 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.272e-05/0.2475, allocations: 7.984 kB / 0.9595 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.2475, allocations: 8 kB / 0.9595 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004212/0.2479, allocations: 387 kB / 0.9598 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2479, allocations: 4 kB / 0.9598 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002493/0.2482, allocations: 40 kB / 0.9599 GB, free: 14.64 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.593e-05/0.2483, allocations: 103.2 kB / 0.96 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001921/0.2485, allocations: 83.86 kB / 0.9601 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.2485, allocations: 4 kB / 0.9601 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.865e-05/0.2486, allocations: 47.89 kB / 0.9601 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.2489, allocations: 73.97 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.0009626/0.2499, allocations: 0.5731 MB / 0.9607 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.2503, allocations: 0.8219 MB / 0.9615 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.2504, allocations: 50.25 kB / 0.9616 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.363e-05/0.2505, allocations: 19.44 kB / 0.9616 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of SimCode: time 2.91e-07/0.2505, allocations: 0 / 0.9616 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of Templates: time 0.006731/0.2572, allocations: 3.569 MB / 0.9651 GB, free: 9.285 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 gbode -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