Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.00171/0.00171, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.002028/0.002028, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.406/1.406, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.764/2.764, allocations: 476.7 MB / 0.7611 GB, free: 15.69 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.CorrectedNFactors,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 71.88 kB / 1.104 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8366/0.8385, allocations: 168.7 MB / 1.269 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002567/0.8411, allocations: 1.603 MB / 1.27 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.8424, allocations: 0.9215 MB / 1.271 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.882e-05/0.8425, allocations: 6.281 kB / 1.271 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.8427, allocations: 60.11 kB / 1.271 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004446/0.8432, allocations: 145.2 kB / 1.271 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.912e-05/0.8432, allocations: 11.89 kB / 1.271 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003965/0.8436, allocations: 357 kB / 1.272 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.647e-05/0.8437, allocations: 38.45 kB / 1.272 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.8439, allocations: 137.9 kB / 1.272 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.8442, allocations: 148.4 kB / 1.272 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.8442, allocations: 16.16 kB / 1.272 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009123/0.8451, allocations: 0.5264 MB / 1.273 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.962e-05/0.8452, allocations: 52.52 kB / 1.273 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.8454, allocations: 138.7 kB / 1.273 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.8471, allocations: 0.8499 MB / 1.274 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.8471, allocations: 2.484 kB / 1.274 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.065e-06/0.8471, allocations: 0 / 1.274 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.8471, allocations: 0 / 1.274 GB, free: 5.133 MB / 0.9981 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.003145/0.8502, allocations: 0.6538 MB / 1.274 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.374e-05/0.8503, allocations: 9.844 kB / 1.274 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.8504, allocations: 36.98 kB / 1.274 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.656e-05/0.8504, allocations: 38.83 kB / 1.274 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006129/0.8511, allocations: 379.5 kB / 1.275 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.8511, allocations: 2.688 kB / 1.275 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.8511, allocations: 4.312 kB / 1.275 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.8513, allocations: 104.7 kB / 1.275 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.8513, allocations: 0 / 1.275 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.8513, allocations: 0.875 kB / 1.275 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.8513, allocations: 0.8125 kB / 1.275 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.8514, allocations: 72.3 kB / 1.275 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.8519, allocations: 342.2 kB / 1.275 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.8521, allocations: 104.8 kB / 1.275 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.724e-05/0.8521, allocations: 61.8 kB / 1.275 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.8522, allocations: 4.984 kB / 1.275 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.8522, allocations: 42.17 kB / 1.275 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.8522, allocations: 0 / 1.275 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003779/0.8526, allocations: 194.2 kB / 1.276 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.8526, allocations: 135 kB / 1.276 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006864/0.8533, allocations: 0.5006 MB / 1.276 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.8533, allocations: 30.7 kB / 1.276 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.8534, allocations: 155.1 kB / 1.276 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.8535, allocations: 16.05 kB / 1.276 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.786e-05/0.8535, allocations: 49.69 kB / 1.276 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.222e-05/0.8536, allocations: 343.8 kB / 1.277 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.8538, allocations: 103.2 kB / 1.277 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.854, allocations: 160.4 kB / 1.277 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.8543, allocations: 239.9 kB / 1.277 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8543, allocations: 0 / 1.277 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004617/0.8547, allocations: 299.1 kB / 1.278 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.8548, allocations: 6.891 kB / 1.278 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.8548, allocations: 5.031 kB / 1.278 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.8548, allocations: 6.031 kB / 1.278 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.8549, allocations: 16.31 kB / 1.278 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.8549, allocations: 6.625 kB / 1.278 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.8552, allocations: 23.84 kB / 1.278 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.8552, allocations: 4.953 kB / 1.278 GB, free: 2.281 MB / 0.9981 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001986/0.8554, allocations: 185.8 kB / 1.278 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.8554, allocations: 37.77 kB / 1.278 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003442/0.8558, allocations: 178.3 kB / 1.278 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.8558, allocations: 1.469 kB / 1.278 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.8558, allocations: 1.594 kB / 1.278 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.8558, allocations: 1.969 kB / 1.278 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.8561, allocations: 298.1 kB / 1.278 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.8561, allocations: 3.938 kB / 1.278 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.413e-05/0.8562, allocations: 22.89 kB / 1.278 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.706e-06/0.8562, allocations: 1.25 kB / 1.278 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.8562, allocations: 2.203 kB / 1.278 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.8562, allocations: 1.906 kB / 1.278 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.8562, allocations: 1.375 kB / 1.278 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.8564, allocations: 196.8 kB / 1.278 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.8566, allocations: 134 kB / 1.279 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/0.8566, allocations: 6.812 kB / 1.279 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.8568, allocations: 9.797 kB / 1.279 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.82e-05/0.8568, allocations: 6.406 kB / 1.279 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.8568, allocations: 3.219 kB / 1.279 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000408/0.8572, allocations: 381.1 kB / 1.279 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.8572, allocations: 4 kB / 1.279 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001045/0.8583, allocations: 98.5 kB / 1.279 GB, free: 1.352 MB / 0.9981 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.005629/0.8639, allocations: 3.441 MB / 1.282 GB, free: 380 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003982/0.8643, allocations: 159.4 kB / 1.283 GB, free: 336 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.8643, allocations: 0 / 1.283 GB, free: 336 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.66e-05/0.8644, allocations: 54.12 kB / 1.283 GB, free: 316 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.8648, allocations: 52.09 kB / 1.283 GB, free: 296 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004799/0.8696, allocations: 3.504 MB / 1.286 GB, free: 14.31 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.8701, allocations: 0.8165 MB / 1.287 GB, free: 13.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001798/0.8702, allocations: 48.62 kB / 1.287 GB, free: 13.59 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.8704, allocations: 79.25 kB / 1.287 GB, free: 13.54 MB / 1.014 GB Notification: Performance of SimCode: time 8.11e-07/0.8704, allocations: 0 / 1.287 GB, free: 13.54 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04051/0.9109, allocations: 10.76 MB / 1.298 GB, free: 12.65 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.716/9.627, allocations: 10.92 kB / 1.298 GB, free: 12.64 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.565487518906593]