Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_9_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.001448/0.001448, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.2/1.2, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.142/2.142, allocations: 390.3 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.91 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4962/0.4974, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002149/0.4996, allocations: 1.581 MB / 0.9513 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009399/0.5005, allocations: 0.9104 MB / 0.9521 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.5006, allocations: 2.844 kB / 0.9521 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.5008, allocations: 64.12 kB / 0.9522 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.5012, allocations: 160.8 kB / 0.9524 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.656e-05/0.5012, allocations: 13.8 kB / 0.9524 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.5015, allocations: 357 kB / 0.9527 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.276e-05/0.5015, allocations: 45.42 kB / 0.9528 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.5017, allocations: 137.9 kB / 0.9529 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.5019, allocations: 140.5 kB / 0.953 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.5019, allocations: 19.91 kB / 0.953 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002714/0.5046, allocations: 0.556 MB / 0.9536 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.479e-05/0.5047, allocations: 54.17 kB / 0.9536 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.5048, allocations: 136.7 kB / 0.9538 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01268/0.5175, allocations: 13.23 MB / 0.9667 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5175, allocations: 1.062 kB / 0.9667 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5175, allocations: 0 / 0.9667 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.5175, allocations: 0 / 0.9667 GB, free: 11.48 MB / 0.7325 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.001268/0.5188, allocations: 0.6479 MB / 0.9673 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.5188, allocations: 9.594 kB / 0.9673 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.5189, allocations: 35.81 kB / 0.9674 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.016e-05/0.5189, allocations: 31.41 kB / 0.9674 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.5193, allocations: 367.6 kB / 0.9677 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.5194, allocations: 6.375 kB / 0.9678 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.5194, allocations: 8.188 kB / 0.9678 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.5195, allocations: 103.1 kB / 0.9679 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.5195, allocations: 0 / 0.9679 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.5195, allocations: 1.438 kB / 0.9679 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.5195, allocations: 0 / 0.9679 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.114e-05/0.5196, allocations: 68.39 kB / 0.9679 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.52, allocations: 346.8 kB / 0.9683 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.5201, allocations: 107 kB / 0.9684 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.22e-05/0.5201, allocations: 64.58 kB / 0.9684 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.5202, allocations: 5.062 kB / 0.9684 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.5202, allocations: 36.81 kB / 0.9685 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.5202, allocations: 0 / 0.9685 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002974/0.5205, allocations: 185.9 kB / 0.9686 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.5206, allocations: 129.5 kB / 0.9688 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004999/0.5211, allocations: 0.5035 MB / 0.9693 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.5211, allocations: 26.64 kB / 0.9693 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.996e-05/0.5212, allocations: 168.1 kB / 0.9694 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.5212, allocations: 14.67 kB / 0.9694 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/0.5213, allocations: 45.83 kB / 0.9695 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.5214, allocations: 356.2 kB / 0.9698 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.5215, allocations: 96.02 kB / 0.9699 GB, free: 8.652 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.5217, allocations: 159 kB / 0.9701 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.522, allocations: 237.1 kB / 0.9703 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.522, allocations: 1.062 kB / 0.9703 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003561/0.5224, allocations: 296.5 kB / 0.9706 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.5224, allocations: 7.656 kB / 0.9706 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5224, allocations: 1.062 kB / 0.9706 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.5224, allocations: 5.141 kB / 0.9706 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.5225, allocations: 21.2 kB / 0.9706 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.5225, allocations: 1.094 kB / 0.9706 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.5227, allocations: 27.67 kB / 0.9706 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.5227, allocations: 3.969 kB / 0.9707 GB, free: 8.191 MB / 0.7325 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.0001364/0.5229, allocations: 177 kB / 0.9708 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.5229, allocations: 36.84 kB / 0.9709 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.5232, allocations: 189.5 kB / 0.971 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.5232, allocations: 2.188 kB / 0.971 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5232, allocations: 1.062 kB / 0.971 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.5232, allocations: 1.125 kB / 0.971 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.5235, allocations: 297.1 kB / 0.9713 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.5235, allocations: 1.062 kB / 0.9713 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.85e-05/0.5236, allocations: 19.7 kB / 0.9713 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5236, allocations: 1.938 kB / 0.9713 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.5236, allocations: 1.125 kB / 0.9713 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.5236, allocations: 5.062 kB / 0.9714 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5236, allocations: 5.906 kB / 0.9714 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.5239, allocations: 189 kB / 0.9715 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.524, allocations: 133.9 kB / 0.9717 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.912e-05/0.5241, allocations: 10.72 kB / 0.9717 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.5242, allocations: 9.297 kB / 0.9717 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.371e-05/0.5242, allocations: 11.95 kB / 0.9717 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.5242, allocations: 2.875 kB / 0.9717 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000394/0.5246, allocations: 378.1 kB / 0.9721 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5246, allocations: 4 kB / 0.9721 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005499/0.5252, allocations: 107.4 kB / 0.9722 GB, free: 7.051 MB / 0.7325 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.004746/0.5299, allocations: 3.433 MB / 0.9755 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002865/0.5302, allocations: 167.3 kB / 0.9757 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5303, allocations: 5 kB / 0.9757 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.388e-05/0.5303, allocations: 53.31 kB / 0.9757 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.5306, allocations: 50.03 kB / 0.9758 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/0.5342, allocations: 3.487 MB / 0.9792 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.5345, allocations: 0.8235 MB / 0.98 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.5346, allocations: 52.59 kB / 0.98 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.5347, allocations: 78.97 kB / 0.9801 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.5347, allocations: 1.469 kB / 0.9801 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.5601, allocations: 10.67 MB / 0.9905 GB, free: 7.516 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.868/7.428, allocations: 13.34 kB / 0.9905 GB, free: 7.504 MB / 0.7481 GB (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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