Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.059/3.059, allocations: 497.2 MB / 0.7811 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 66.77 kB / 1.134 GB, free: 33.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3283, allocations: 173.9 MB / 1.304 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.00285/0.3311, allocations: 1.597 MB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.3326, allocations: 0.919 MB / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.3326, allocations: 0 / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.3329, allocations: 67.64 kB / 1.306 GB, free: 14.9 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004528/0.3333, allocations: 139.3 kB / 1.307 GB, free: 14.77 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.477e-05/0.3334, allocations: 7.938 kB / 1.307 GB, free: 14.76 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004433/0.3338, allocations: 385.9 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.881e-05/0.3339, allocations: 25.03 kB / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.3341, allocations: 147.4 kB / 1.307 GB, free: 14.21 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.3343, allocations: 143.3 kB / 1.307 GB, free: 14.07 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.3343, allocations: 16 kB / 1.307 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.752e-05/0.3344, allocations: 16 kB / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.67e-05/0.3344, allocations: 43.72 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.3346, allocations: 127.3 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.3349, allocations: 294.7 kB / 1.308 GB, free: 13.58 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3349, allocations: 0 / 1.308 GB, free: 13.58 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3349, allocations: 0 / 1.308 GB, free: 13.58 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.331e-06/0.3349, allocations: 4 kB / 1.308 GB, free: 13.58 MB / 1.014 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.001172/0.3361, allocations: 0.6341 MB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3361, allocations: 8.922 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.3361, allocations: 34.69 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/0.3362, allocations: 40.7 kB / 1.308 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005524/0.3368, allocations: 394.6 kB / 1.309 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.3368, allocations: 4.312 kB / 1.309 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.3368, allocations: 4.375 kB / 1.309 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.3369, allocations: 101.1 kB / 1.309 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3369, allocations: 3.938 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.337, allocations: 4 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.337, allocations: 4 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.3371, allocations: 63.92 kB / 1.309 GB, free: 12.18 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.3375, allocations: 356 kB / 1.309 GB, free: 11.78 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.3376, allocations: 102.4 kB / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.438e-05/0.3377, allocations: 63.45 kB / 1.31 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.3377, allocations: 7.984 kB / 1.31 GB, free: 11.56 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.3378, allocations: 42.44 kB / 1.31 GB, free: 11.51 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3378, allocations: 0 / 1.31 GB, free: 11.51 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0003537/0.3381, allocations: 189.3 kB / 1.31 GB, free: 11.32 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/0.3382, allocations: 136.5 kB / 1.31 GB, free: 11.15 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006146/0.3388, allocations: 0.5093 MB / 1.31 GB, free: 10.63 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.3388, allocations: 25.7 kB / 1.31 GB, free: 10.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.339, allocations: 168.6 kB / 1.311 GB, free: 10.43 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.339, allocations: 7.953 kB / 1.311 GB, free: 10.43 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.339, allocations: 25.67 kB / 1.311 GB, free: 10.39 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3392, allocations: 342.8 kB / 1.311 GB, free: 10.05 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.665e-05/0.3393, allocations: 31.97 kB / 1.311 GB, free: 10.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.167e-05/0.3393, allocations: 59.39 kB / 1.311 GB, free: 9.949 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.3395, allocations: 107.3 kB / 1.311 GB, free: 9.832 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.3395, allocations: 4 kB / 1.311 GB, free: 9.828 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002141/0.3397, allocations: 149.3 kB / 1.311 GB, free: 9.676 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3397, allocations: 4 kB / 1.311 GB, free: 9.672 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3397, allocations: 0 / 1.311 GB, free: 9.672 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3397, allocations: 4.125 kB / 1.311 GB, free: 9.668 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.3399, allocations: 19.92 kB / 1.311 GB, free: 9.648 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3399, allocations: 0 / 1.311 GB, free: 9.648 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.34, allocations: 7.984 kB / 1.311 GB, free: 9.641 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.34, allocations: 4 kB / 1.311 GB, free: 9.637 MB / 1.014 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.0001681/0.3402, allocations: 181.7 kB / 1.311 GB, free: 9.449 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.3402, allocations: 39.7 kB / 1.311 GB, free: 9.41 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.3406, allocations: 187.7 kB / 1.312 GB, free: 9.223 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3406, allocations: 4.094 kB / 1.312 GB, free: 9.219 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3406, allocations: 3.938 kB / 1.312 GB, free: 9.215 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3406, allocations: 3.984 kB / 1.312 GB, free: 9.211 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.3409, allocations: 301.4 kB / 1.312 GB, free: 8.867 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.3409, allocations: 4 kB / 1.312 GB, free: 8.863 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.062e-05/0.341, allocations: 19.92 kB / 1.312 GB, free: 8.844 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.341, allocations: 3.938 kB / 1.312 GB, free: 8.84 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.341, allocations: 0 / 1.312 GB, free: 8.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.341, allocations: 4.125 kB / 1.312 GB, free: 8.836 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.341, allocations: 7.938 kB / 1.312 GB, free: 8.828 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.3412, allocations: 191.4 kB / 1.312 GB, free: 8.613 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.3414, allocations: 144.8 kB / 1.312 GB, free: 8.453 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.696e-05/0.3415, allocations: 3.953 kB / 1.312 GB, free: 8.449 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.3416, allocations: 19.97 kB / 1.312 GB, free: 8.43 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.3416, allocations: 4 kB / 1.312 GB, free: 8.426 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.3416, allocations: 0 / 1.312 GB, free: 8.426 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004582/0.3421, allocations: 403 kB / 1.313 GB, free: 8.031 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3421, allocations: 0 / 1.313 GB, free: 8.031 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000253/0.3424, allocations: 40 kB / 1.313 GB, free: 7.992 MB / 1.014 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.0005614/0.3429, allocations: 0.728 MB / 1.313 GB, free: 7.227 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001826/0.3431, allocations: 83.86 kB / 1.314 GB, free: 7.145 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3431, allocations: 3.938 kB / 1.314 GB, free: 7.141 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.742e-05/0.3432, allocations: 44.28 kB / 1.314 GB, free: 7.098 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.3436, allocations: 65.61 kB / 1.314 GB, free: 7.035 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003973/0.3475, allocations: 3.189 MB / 1.317 GB, free: 3.727 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.348, allocations: 0.822 MB / 1.318 GB, free: 2.879 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001534/0.3481, allocations: 54.19 kB / 1.318 GB, free: 2.828 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.3483, allocations: 83.41 kB / 1.318 GB, free: 2.746 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/0.3483, allocations: 4 kB / 1.318 GB, free: 2.742 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05271/0.401, allocations: 6.658 MB / 1.324 GB, free: 12.28 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.302/8.703, allocations: 14.22 kB / 1.324 GB, free: 12.27 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.085402878932655]