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.001241/0.001241, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.00119/0.00119, allocations: 186 kB / 20.78 MB, free: 1.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.373/1.373, allocations: 225.6 MB / 249.4 MB, free: 3.16 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.658/2.658, allocations: 476.7 MB / 0.7629 GB, free: 15.12 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.001892/0.001892, allocations: 67.89 kB / 1.107 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.818/0.8199, allocations: 168.7 MB / 1.271 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002368/0.8222, allocations: 1.611 MB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.8234, allocations: 0.9249 MB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.8235, allocations: 6.469 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.8237, allocations: 55.14 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005053/0.8242, allocations: 145.3 kB / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.176e-05/0.8243, allocations: 8.359 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004473/0.8247, allocations: 367.9 kB / 1.275 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.983e-05/0.8248, allocations: 13.95 kB / 1.275 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002588/0.8251, allocations: 145.3 kB / 1.275 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.8253, allocations: 136.5 kB / 1.275 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.8253, allocations: 15.47 kB / 1.275 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008305/0.8262, allocations: 0.5335 MB / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.759e-05/0.8262, allocations: 48.94 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.8264, allocations: 142.2 kB / 1.276 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.8278, allocations: 0.8555 MB / 1.276 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8278, allocations: 0 / 1.276 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8278, allocations: 0.5625 kB / 1.276 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.8278, allocations: 0 / 1.276 GB, free: 5.094 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.001332/0.8292, allocations: 0.6595 MB / 1.277 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.8292, allocations: 9.156 kB / 1.277 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.8292, allocations: 35.72 kB / 1.277 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.392e-05/0.8293, allocations: 34.98 kB / 1.277 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.8297, allocations: 380 kB / 1.277 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.8297, allocations: 3.094 kB / 1.277 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.8297, allocations: 4.547 kB / 1.277 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.8299, allocations: 106.1 kB / 1.278 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.8299, allocations: 0 / 1.278 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.8299, allocations: 0.9062 kB / 1.278 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.8299, allocations: 0.8125 kB / 1.278 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.83, allocations: 70.8 kB / 1.278 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.8303, allocations: 336.4 kB / 1.278 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.8304, allocations: 107.6 kB / 1.278 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.82e-05/0.8305, allocations: 61.16 kB / 1.278 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.8305, allocations: 4.906 kB / 1.278 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.8305, allocations: 37.14 kB / 1.278 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.8305, allocations: 4.844 kB / 1.278 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003198/0.8309, allocations: 191.4 kB / 1.278 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.8309, allocations: 134.8 kB / 1.278 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006001/0.8315, allocations: 0.497 MB / 1.279 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.8315, allocations: 34.95 kB / 1.279 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.797e-05/0.8316, allocations: 157.3 kB / 1.279 GB, free: 3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.8316, allocations: 19.39 kB / 1.279 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.093e-05/0.8317, allocations: 52.09 kB / 1.279 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.571e-05/0.8318, allocations: 342.4 kB / 1.28 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.832, allocations: 100.7 kB / 1.28 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.8322, allocations: 160.5 kB / 1.28 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.8325, allocations: 236.3 kB / 1.28 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8325, allocations: 0 / 1.28 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004484/0.8329, allocations: 295.3 kB / 1.28 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.833, allocations: 9.031 kB / 1.28 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.833, allocations: 4.609 kB / 1.28 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.833, allocations: 2.438 kB / 1.28 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.8331, allocations: 20.27 kB / 1.28 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.8331, allocations: 3.516 kB / 1.28 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.8333, allocations: 27.22 kB / 1.28 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.8333, allocations: 6.016 kB / 1.28 GB, free: 2.254 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.0001475/0.8335, allocations: 182.6 kB / 1.281 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.8335, allocations: 41.34 kB / 1.281 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003217/0.8338, allocations: 179.4 kB / 1.281 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.8338, allocations: 0.5938 kB / 1.281 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.8338, allocations: 1.688 kB / 1.281 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.8339, allocations: 2.953 kB / 1.281 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.8341, allocations: 288.5 kB / 1.281 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.8341, allocations: 4.688 kB / 1.281 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.799e-05/0.8342, allocations: 21.91 kB / 1.281 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.8342, allocations: 3.219 kB / 1.281 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.8342, allocations: 12.69 kB / 1.281 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.8342, allocations: 3.031 kB / 1.281 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8342, allocations: 0.6094 kB / 1.281 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.8344, allocations: 192.8 kB / 1.281 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.8345, allocations: 142.4 kB / 1.281 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.8346, allocations: 7.125 kB / 1.281 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.8347, allocations: 10.62 kB / 1.281 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.8347, allocations: 7.719 kB / 1.281 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.8348, allocations: 4.141 kB / 1.281 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003842/0.8351, allocations: 381.1 kB / 1.282 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.8351, allocations: 0 / 1.282 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008195/0.836, allocations: 98.14 kB / 1.282 GB, free: 1.312 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.004989/0.8409, allocations: 3.44 MB / 1.285 GB, free: 340 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003287/0.8413, allocations: 165.3 kB / 1.285 GB, free: 292 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8413, allocations: 0 / 1.285 GB, free: 292 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.411e-05/0.8413, allocations: 45.38 kB / 1.285 GB, free: 280 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.8417, allocations: 54.03 kB / 1.285 GB, free: 260 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/0.846, allocations: 3.489 MB / 1.289 GB, free: 14.29 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.8465, allocations: 0.8188 MB / 1.29 GB, free: 13.58 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001532/0.8466, allocations: 53.33 kB / 1.29 GB, free: 13.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.8468, allocations: 80.38 kB / 1.29 GB, free: 13.51 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/0.8468, allocations: 0 / 1.29 GB, free: 13.51 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/0.8828, allocations: 10.73 MB / 1.3 GB, free: 12.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.825/9.708, allocations: 6.516 kB / 1.3 GB, free: 12.6 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 --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.391730966017349]