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.001884/0.001884, allocations: 109.4 kB / 16.46 MB, free: 6.453 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.002306/0.002306, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.464/1.464, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.236/3.236, allocations: 0.49 GB / 0.7916 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 75.84 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3299, allocations: 176.1 MB / 1.321 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002956/0.3329, allocations: 1.61 MB / 1.322 GB, free: 1.77 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.3346, allocations: 0.954 MB / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.3347, allocations: 4 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.335, allocations: 67.64 kB / 1.323 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005328/0.3355, allocations: 139.3 kB / 1.323 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.157e-05/0.3356, allocations: 7.984 kB / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004683/0.3361, allocations: 378.2 kB / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.15e-05/0.3361, allocations: 29.02 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.3364, allocations: 159.3 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.3367, allocations: 135.4 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.701e-05/0.3367, allocations: 16 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.762e-05/0.3368, allocations: 16 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.837e-05/0.3368, allocations: 51.7 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.337, allocations: 127.2 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.3373, allocations: 290.7 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3373, allocations: 0 / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3373, allocations: 4 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.3373, allocations: 0 / 1.325 GB, free: 15.41 MB / 1.029 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.001173/0.3385, allocations: 0.6418 MB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.3386, allocations: 15.98 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.772e-05/0.3386, allocations: 30.75 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.771e-05/0.3387, allocations: 32.75 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.3392, allocations: 394.6 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.971e-06/0.3392, allocations: 384 / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.3392, allocations: 384 / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.3394, allocations: 109.1 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.3394, allocations: 3.938 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3394, allocations: 0 / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3394, allocations: 4 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.3395, allocations: 63.88 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.34, allocations: 356.1 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.3401, allocations: 110.4 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.072e-05/0.3402, allocations: 59.45 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.3402, allocations: 3.984 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.3402, allocations: 42.44 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.061e-06/0.3402, allocations: 4 kB / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003591/0.3406, allocations: 185.3 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.924e-05/0.3407, allocations: 132.5 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006588/0.3413, allocations: 0.5132 MB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.3414, allocations: 25.7 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.3415, allocations: 164.1 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.3415, allocations: 16.34 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/0.3416, allocations: 25.7 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3417, allocations: 338.8 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.968e-05/0.3418, allocations: 39.95 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.632e-05/0.3419, allocations: 55.39 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.342, allocations: 111.3 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.342, allocations: 0 / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002284/0.3423, allocations: 141.3 kB / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3423, allocations: 8 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3423, allocations: 7.984 kB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3423, allocations: 3.938 kB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.3424, allocations: 8.125 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3424, allocations: 7.984 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.3426, allocations: 11.98 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.3426, allocations: 8 kB / 1.328 GB, free: 11.45 MB / 1.029 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.0001612/0.3427, allocations: 173.8 kB / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.3428, allocations: 39.8 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003365/0.3431, allocations: 195.7 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.3431, allocations: 0 / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3431, allocations: 0 / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3431, allocations: 4 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.3434, allocations: 301.5 kB / 1.329 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3434, allocations: 0 / 1.329 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.78e-05/0.3435, allocations: 19.92 kB / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3436, allocations: 4 kB / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.3436, allocations: 0 / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3436, allocations: 7.875 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3436, allocations: 4 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.3438, allocations: 199.5 kB / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.344, allocations: 140.8 kB / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/0.344, allocations: 7.938 kB / 1.329 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.3442, allocations: 7.984 kB / 1.329 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.3442, allocations: 15.92 kB / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-06/0.3442, allocations: 8 kB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004875/0.3447, allocations: 391 kB / 1.33 GB, free: 9.855 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3447, allocations: 0 / 1.33 GB, free: 9.855 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00026/0.345, allocations: 39.94 kB / 1.33 GB, free: 9.816 MB / 1.029 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.0005658/0.3455, allocations: 0.7318 MB / 1.33 GB, free: 9.047 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.3457, allocations: 83.86 kB / 1.33 GB, free: 8.965 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3457, allocations: 0 / 1.33 GB, free: 8.965 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.593e-05/0.3458, allocations: 48.33 kB / 1.33 GB, free: 8.918 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.3462, allocations: 73.47 kB / 1.331 GB, free: 8.848 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004015/0.3502, allocations: 3.179 MB / 1.334 GB, free: 5.543 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.3506, allocations: 0.8143 MB / 1.334 GB, free: 4.703 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.3508, allocations: 54.25 kB / 1.335 GB, free: 4.652 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.3509, allocations: 79.41 kB / 1.335 GB, free: 4.574 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.3509, allocations: 0 / 1.335 GB, free: 4.574 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03184/0.3828, allocations: 6.69 MB / 1.341 GB, free: 14.08 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.442/8.824, allocations: 10.31 kB / 1.341 GB, free: 14.07 MB / 1.045 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 15.434203141834587]