Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006084/0.006084, allocations: 102.7 kB / 15.73 MB, free: 5.539 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.001375/0.001376, allocations: 193.2 kB / 16.67 MB, free: 5.469 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.222/1.222, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.261/2.261, allocations: 437 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 59.91 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7183/0.7195, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002431/0.722, allocations: 1.59 MB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.7233, allocations: 0.9151 MB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.547e-05/0.7234, allocations: 4 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.7236, allocations: 63.66 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004394/0.7241, allocations: 151.3 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.723e-05/0.7241, allocations: 11.98 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00036/0.7245, allocations: 370.2 kB / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.311e-05/0.7246, allocations: 44.73 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.7248, allocations: 143.4 kB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.725, allocations: 143.3 kB / 1.169 GB, free: 324 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.725, allocations: 16 kB / 1.169 GB, free: 308 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.208e-05/0.7251, allocations: 20 kB / 1.169 GB, free: 288 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.942e-05/0.7251, allocations: 47.77 kB / 1.17 GB, free: 240 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.7253, allocations: 127.2 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.7255, allocations: 289.2 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.7255, allocations: 0 / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7255, allocations: 0 / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.7256, allocations: 0 / 1.17 GB, free: 15.83 MB / 0.9044 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.0009828/0.7265, allocations: 0.6302 MB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.7266, allocations: 8.922 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.795e-05/0.7266, allocations: 38.75 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/0.7267, allocations: 28.56 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/0.7271, allocations: 390.1 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.7272, allocations: 8.375 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.7272, allocations: 8.312 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.7273, allocations: 97.19 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.311e-06/0.7273, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.7273, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.7274, allocations: 7.938 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.093e-05/0.7275, allocations: 67.88 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.7278, allocations: 352.1 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.7279, allocations: 106.5 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.264e-05/0.728, allocations: 71.33 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.728, allocations: 0 / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.728, allocations: 34.5 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.7281, allocations: 4 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.000304/0.7284, allocations: 181.5 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.7284, allocations: 136.6 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005105/0.7289, allocations: 0.5132 MB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.729, allocations: 25.7 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.7291, allocations: 164.1 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.7291, allocations: 11.75 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.7292, allocations: 25.7 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.7293, allocations: 338.8 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.286e-05/0.7293, allocations: 43.89 kB / 1.173 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.644e-05/0.7294, allocations: 55.41 kB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.7295, allocations: 99.3 kB / 1.173 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7295, allocations: 4 kB / 1.173 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001873/0.7297, allocations: 153.1 kB / 1.173 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.7298, allocations: 4 kB / 1.173 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.7298, allocations: 4 kB / 1.173 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.7298, allocations: 4.078 kB / 1.173 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.7299, allocations: 8 kB / 1.173 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.7299, allocations: 0 / 1.173 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.7301, allocations: 19.95 kB / 1.173 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.7301, allocations: 0 / 1.173 GB, free: 11.9 MB / 0.9044 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.0001365/0.7302, allocations: 188 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.7303, allocations: 31.56 kB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002898/0.7306, allocations: 183.7 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.7306, allocations: 4 kB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.7306, allocations: 3.938 kB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7306, allocations: 0 / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.7308, allocations: 321.5 kB / 1.174 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.7309, allocations: 3.938 kB / 1.174 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.393e-05/0.7309, allocations: 19.92 kB / 1.174 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.731, allocations: 0 / 1.174 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.731, allocations: 8 kB / 1.174 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.731, allocations: 0 / 1.174 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.731, allocations: 0 / 1.174 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.7312, allocations: 195.1 kB / 1.174 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.7313, allocations: 136.6 kB / 1.174 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.7314, allocations: 8 kB / 1.174 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.7315, allocations: 7.984 kB / 1.174 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.7315, allocations: 7.984 kB / 1.174 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.7315, allocations: 4 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003861/0.7319, allocations: 395 kB / 1.175 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.21e-07/0.7319, allocations: 4 kB / 1.175 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002542/0.7322, allocations: 36 kB / 1.175 GB, free: 10.27 MB / 0.9044 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.0004301/0.7326, allocations: 0.7355 MB / 1.176 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001645/0.7328, allocations: 83.86 kB / 1.176 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7328, allocations: 0 / 1.176 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.334e-05/0.7329, allocations: 51.89 kB / 1.176 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.7333, allocations: 70.05 kB / 1.176 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.7364, allocations: 3.167 MB / 1.179 GB, free: 6.012 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.7367, allocations: 0.8143 MB / 1.18 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001169/0.7368, allocations: 58.25 kB / 1.18 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.737, allocations: 75.41 kB / 1.18 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of SimCode: time 5.01e-07/0.737, allocations: 0 / 1.18 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.7601, allocations: 6.656 MB / 1.186 GB, free: 14.58 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.782, allocations: 14.39 kB / 1.186 GB, free: 14.57 MB / 0.92 GB (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches