Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002171/0.002171, allocations: 216.5 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.371/1.371, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.013/3.013, allocations: 0.49 GB / 0.7951 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 71.52 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3804, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003148/0.3835, allocations: 1.577 MB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.3851, allocations: 0.8684 MB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.013e-05/0.3852, allocations: 4 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.3855, allocations: 55.69 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004997/0.386, allocations: 139.3 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.244e-05/0.386, allocations: 7.984 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005171/0.3865, allocations: 370.2 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.648e-05/0.3866, allocations: 17.2 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.3869, allocations: 151.4 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.3871, allocations: 147.3 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.3871, allocations: 16 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006683/0.3878, allocations: 488.8 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.3879, allocations: 55.7 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.3881, allocations: 103.5 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.3895, allocations: 0.8457 MB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3895, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3895, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.3895, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 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.001629/0.3911, allocations: 0.5821 MB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3911, allocations: 19.97 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.658e-05/0.3912, allocations: 34.75 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.232e-05/0.3913, allocations: 32.75 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005515/0.3918, allocations: 328.7 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3918, allocations: 384 / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.3918, allocations: 8.375 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.392, allocations: 105.1 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3921, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3921, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3921, allocations: 8 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.3922, allocations: 71.86 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.3926, allocations: 279.3 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.3927, allocations: 102.4 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.725e-05/0.3928, allocations: 59.47 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.3928, allocations: 4 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.3929, allocations: 42.42 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3929, allocations: 0 / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003836/0.3933, allocations: 193.7 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.3934, allocations: 128.5 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006511/0.394, allocations: 0.5053 MB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.394, allocations: 29.7 kB / 1.333 GB, free: 9.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.3942, allocations: 156.4 kB / 1.333 GB, free: 9.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.3942, allocations: 7.953 kB / 1.333 GB, free: 9.742 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.064e-05/0.3943, allocations: 53.64 kB / 1.333 GB, free: 9.684 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3945, allocations: 342.8 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.3946, allocations: 103.9 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.3949, allocations: 263.5 kB / 1.334 GB, free: 8.934 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.3952, allocations: 243.3 kB / 1.334 GB, free: 8.684 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3952, allocations: 4 kB / 1.334 GB, free: 8.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004331/0.3957, allocations: 305.1 kB / 1.334 GB, free: 8.375 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.3957, allocations: 8 kB / 1.334 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.3957, allocations: 0 / 1.334 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3957, allocations: 4 kB / 1.334 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.3959, allocations: 15.98 kB / 1.334 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3959, allocations: 4 kB / 1.334 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.3961, allocations: 31.81 kB / 1.334 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.3961, allocations: 4 kB / 1.334 GB, free: 8.309 MB / 1.029 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.0002033/0.3963, allocations: 189.6 kB / 1.335 GB, free: 8.113 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.035e-05/0.3963, allocations: 35.75 kB / 1.335 GB, free: 8.078 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003507/0.3967, allocations: 179.6 kB / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3967, allocations: 240 / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3967, allocations: 4 kB / 1.335 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.3967, allocations: 7.922 kB / 1.335 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.397, allocations: 236.6 kB / 1.335 GB, free: 7.605 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.397, allocations: 0 / 1.335 GB, free: 7.605 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.326e-05/0.3971, allocations: 19.92 kB / 1.335 GB, free: 7.586 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3971, allocations: 8.125 kB / 1.335 GB, free: 7.578 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3971, allocations: 0 / 1.335 GB, free: 7.578 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3971, allocations: 0 / 1.335 GB, free: 7.578 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.3971, allocations: 4 kB / 1.335 GB, free: 7.574 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.3974, allocations: 191.3 kB / 1.335 GB, free: 7.359 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.3976, allocations: 67.61 kB / 1.335 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.3976, allocations: 0 / 1.335 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.3977, allocations: 15.98 kB / 1.335 GB, free: 7.277 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.3978, allocations: 7.984 kB / 1.335 GB, free: 7.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.3978, allocations: 0 / 1.335 GB, free: 7.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004845/0.3983, allocations: 383 kB / 1.336 GB, free: 6.902 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3983, allocations: 0 / 1.336 GB, free: 6.902 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005578/0.3988, allocations: 103.9 kB / 1.336 GB, free: 6.801 MB / 1.029 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.005463/0.4043, allocations: 3.45 MB / 1.339 GB, free: 3.309 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004319/0.4047, allocations: 159.8 kB / 1.339 GB, free: 3.152 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4047, allocations: 0 / 1.339 GB, free: 3.152 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.195e-05/0.4048, allocations: 47.91 kB / 1.339 GB, free: 3.105 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.4053, allocations: 67.62 kB / 1.339 GB, free: 3.039 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004859/0.4101, allocations: 3.495 MB / 1.343 GB, free: 15.42 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.4103, allocations: 211.4 kB / 1.343 GB, free: 15.2 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001576/0.4105, allocations: 46.28 kB / 1.343 GB, free: 15.15 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.4107, allocations: 87.39 kB / 1.343 GB, free: 15.07 MB / 1.045 GB Notification: Performance of SimCode: time 1.583e-06/0.4107, allocations: 0 / 1.343 GB, free: 15.07 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05852/0.4692, allocations: 11.74 MB / 1.355 GB, free: 3.52 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.1, allocations: 6.219 kB / 1.355 GB, free: 3.516 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.489989166002488]