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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007377/0.007377, allocations: 102.2 kB / 15.73 MB, free: 6.039 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.001608/0.001609, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.45/2.45, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 68.08 kB / 1.054 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8268/0.8281, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002826/0.831, allocations: 1.587 MB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.8324, allocations: 0.9229 MB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.361e-05/0.8325, allocations: 3.938 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.8328, allocations: 59.66 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004902/0.8333, allocations: 143.3 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.674e-05/0.8334, allocations: 15.97 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004092/0.8338, allocations: 374.2 kB / 1.21 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.479e-05/0.8339, allocations: 44.75 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.8341, allocations: 139.4 kB / 1.21 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.8344, allocations: 139.3 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.8344, allocations: 12 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.885e-05/0.8345, allocations: 16 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.8e-05/0.8346, allocations: 51.75 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.8347, allocations: 131.2 kB / 1.211 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.835, allocations: 289.1 kB / 1.211 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.835, allocations: 8 kB / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.863e-06/0.835, allocations: 0 / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.835, allocations: 0 / 1.211 GB, free: 9.645 MB / 0.9356 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.001083/0.8361, allocations: 0.6224 MB / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.8362, allocations: 12.03 kB / 1.212 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.8362, allocations: 34.75 kB / 1.212 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.51e-05/0.8363, allocations: 32.56 kB / 1.212 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006213/0.8369, allocations: 394.1 kB / 1.212 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.8369, allocations: 384 / 1.212 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.8369, allocations: 4.375 kB / 1.212 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.8371, allocations: 105.1 kB / 1.212 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.8372, allocations: 3.938 kB / 1.212 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.8372, allocations: 4 kB / 1.212 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.8372, allocations: 0 / 1.212 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.8373, allocations: 67.88 kB / 1.212 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.8377, allocations: 348.1 kB / 1.213 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.8379, allocations: 106.4 kB / 1.213 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.751e-05/0.838, allocations: 71.38 kB / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.838, allocations: 4 kB / 1.213 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.838, allocations: 38.5 kB / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.838, allocations: 0 / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003502/0.8384, allocations: 185.1 kB / 1.213 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.8385, allocations: 132.5 kB / 1.213 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005883/0.839, allocations: 0.5137 MB / 1.214 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.8391, allocations: 25.7 kB / 1.214 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.8392, allocations: 168.1 kB / 1.214 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.8392, allocations: 11.75 kB / 1.214 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.8393, allocations: 25.7 kB / 1.214 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.8394, allocations: 338.8 kB / 1.214 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.589e-05/0.8395, allocations: 35.95 kB / 1.214 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.449e-05/0.8395, allocations: 59.34 kB / 1.214 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.8397, allocations: 103.4 kB / 1.214 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.8397, allocations: 3.938 kB / 1.214 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002064/0.8399, allocations: 149.1 kB / 1.215 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.8399, allocations: 4.125 kB / 1.215 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.8399, allocations: 4 kB / 1.215 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.8399, allocations: 4 kB / 1.215 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.8401, allocations: 11.98 kB / 1.215 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.8401, allocations: 0 / 1.215 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.8402, allocations: 11.98 kB / 1.215 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.8403, allocations: 11.92 kB / 1.215 GB, free: 5.723 MB / 0.9356 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.0001427/0.8404, allocations: 173.7 kB / 1.215 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.412e-05/0.8405, allocations: 39.55 kB / 1.215 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.8408, allocations: 183.7 kB / 1.215 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.8408, allocations: 4 kB / 1.215 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.8408, allocations: 0 / 1.215 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8408, allocations: 3.938 kB / 1.215 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.8411, allocations: 313.4 kB / 1.215 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.8411, allocations: 7.938 kB / 1.215 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.451e-05/0.8412, allocations: 15.94 kB / 1.215 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.8412, allocations: 3.984 kB / 1.215 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.8412, allocations: 4.125 kB / 1.215 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.8412, allocations: 4 kB / 1.215 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8412, allocations: 0 / 1.215 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.8415, allocations: 191.1 kB / 1.215 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.8416, allocations: 140.6 kB / 1.216 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.8417, allocations: 4 kB / 1.216 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.8418, allocations: 11.98 kB / 1.216 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.8418, allocations: 4 kB / 1.216 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-06/0.8419, allocations: 0 / 1.216 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003978/0.8423, allocations: 399 kB / 1.216 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8423, allocations: 0 / 1.216 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002449/0.8425, allocations: 40 kB / 1.216 GB, free: 4.098 MB / 0.9356 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.0004657/0.843, allocations: 0.7316 MB / 1.217 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001741/0.8432, allocations: 87.84 kB / 1.217 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.8432, allocations: 4.25 kB / 1.217 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.397e-05/0.8433, allocations: 43.91 kB / 1.217 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.8436, allocations: 75.48 kB / 1.217 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.8471, allocations: 3.17 MB / 1.22 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.8474, allocations: 0.8182 MB / 1.221 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001355/0.8476, allocations: 54.27 kB / 1.221 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.8477, allocations: 79.41 kB / 1.221 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.8477, allocations: 0 / 1.221 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.8738, allocations: 6.753 MB / 1.228 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.565/8.439, allocations: 19.44 kB / 1.228 GB, free: 8.285 MB / 0.9512 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches