Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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.CorrectedNFactors,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",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.00712/0.00712, allocations: 99.59 kB / 15.73 MB, free: 6.484 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.001769/0.001769, allocations: 192.2 kB / 16.68 MB, free: 6.367 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.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.654/2.654, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 75.88 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2399, allocations: 151.6 MB / 1.166 GB, free: 7.355 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002608/0.2426, allocations: 1.587 MB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.244, allocations: 0.9229 MB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.391e-05/0.2441, allocations: 4 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.2444, allocations: 55.66 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004975/0.2449, allocations: 151.3 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.019e-05/0.245, allocations: 15.98 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00041/0.2454, allocations: 362.2 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.855e-05/0.2455, allocations: 48.75 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.2458, allocations: 139.4 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.246, allocations: 139.3 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.822e-05/0.246, allocations: 16 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00324/0.2493, allocations: 0.559 MB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.2494, allocations: 63.69 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.2496, allocations: 131.2 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0142/0.2638, allocations: 13.24 MB / 1.183 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2639, allocations: 0 / 1.183 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2639, allocations: 0 / 1.183 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.2639, allocations: 3.938 kB / 1.183 GB, free: 5.875 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.00147/0.2654, allocations: 0.6613 MB / 1.184 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2654, allocations: 16.02 kB / 1.184 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.2655, allocations: 34.75 kB / 1.184 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.425e-05/0.2656, allocations: 32.75 kB / 1.184 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.2661, allocations: 366.7 kB / 1.184 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.2661, allocations: 8.375 kB / 1.184 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.2661, allocations: 8.375 kB / 1.184 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.2663, allocations: 105.1 kB / 1.184 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2663, allocations: 0 / 1.184 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.2663, allocations: 0 / 1.184 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2663, allocations: 7.984 kB / 1.184 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.563e-05/0.2664, allocations: 63.88 kB / 1.184 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.2668, allocations: 344 kB / 1.185 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.2669, allocations: 110.4 kB / 1.185 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.293e-05/0.267, allocations: 63.45 kB / 1.185 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.267, allocations: 7.938 kB / 1.185 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.2671, allocations: 38.5 kB / 1.185 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.2671, allocations: 0 / 1.185 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003462/0.2674, allocations: 181.7 kB / 1.185 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.2675, allocations: 132.6 kB / 1.185 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005428/0.268, allocations: 0.5054 MB / 1.186 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.2681, allocations: 25.7 kB / 1.186 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.2682, allocations: 160.4 kB / 1.186 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.2682, allocations: 23.77 kB / 1.186 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.418e-05/0.2683, allocations: 41.7 kB / 1.186 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2684, allocations: 346.8 kB / 1.186 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.2685, allocations: 99.92 kB / 1.186 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.2687, allocations: 162.7 kB / 1.187 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.269, allocations: 231.3 kB / 1.187 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.269, allocations: 3.938 kB / 1.187 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003898/0.2694, allocations: 301.2 kB / 1.187 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.2694, allocations: 8 kB / 1.187 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2694, allocations: 0 / 1.187 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.2695, allocations: 0 / 1.187 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.2696, allocations: 15.98 kB / 1.187 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.2696, allocations: 7.984 kB / 1.187 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.2698, allocations: 19.88 kB / 1.187 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.2698, allocations: 8 kB / 1.187 GB, free: 1.445 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 (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.0001544/0.27, allocations: 181.7 kB / 1.187 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.27, allocations: 35.75 kB / 1.187 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003026/0.2703, allocations: 179.7 kB / 1.187 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.2704, allocations: 11.94 kB / 1.188 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2704, allocations: 0 / 1.188 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.2704, allocations: 0 / 1.188 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.2706, allocations: 297.4 kB / 1.188 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2706, allocations: 0 / 1.188 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.871e-05/0.2707, allocations: 20.05 kB / 1.188 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2708, allocations: 8 kB / 1.188 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.2708, allocations: 0 / 1.188 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2708, allocations: 4 kB / 1.188 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2708, allocations: 0 / 1.188 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.271, allocations: 195.3 kB / 1.188 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.2712, allocations: 140.8 kB / 1.188 GB, free: 292 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.2712, allocations: 4 kB / 1.188 GB, free: 288 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.2714, allocations: 11.98 kB / 1.188 GB, free: 276 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.2714, allocations: 7.984 kB / 1.188 GB, free: 268 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.2714, allocations: 0 / 1.188 GB, free: 268 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004069/0.2718, allocations: 379 kB / 1.189 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2718, allocations: 0 / 1.189 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004756/0.2723, allocations: 103.9 kB / 1.189 GB, free: 15.79 MB / 0.9512 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.004695/0.277, allocations: 3.446 MB / 1.192 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003526/0.2774, allocations: 172.1 kB / 1.192 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.2774, allocations: 0 / 1.192 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.748e-05/0.2775, allocations: 43.91 kB / 1.192 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.2779, allocations: 69.28 kB / 1.192 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003988/0.2819, allocations: 3.474 MB / 1.196 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.2822, allocations: 0.8143 MB / 1.196 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001371/0.2824, allocations: 49.92 kB / 1.197 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.2825, allocations: 79.41 kB / 1.197 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of SimCode: time 5.91e-07/0.2825, allocations: 0 / 1.197 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.3107, allocations: 10.73 MB / 1.207 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.275, allocations: 3.953 kB / 1.207 GB, free: 12.92 MB / 0.9669 GB (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=31536000.000000 File[7]=75686.400000 " Variables in the reference:time,TSoi[1].T,TSoi[2].T,TSoi[3].T,TSoi[4].T Variables in the result:time,TSoi[1].T,TSoi[2].T,TSoi[3].T,TSoi[4].T,TSoi[1].cliCon.TSurAmp