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.001743/0.001743, allocations: 106.1 kB / 16.45 MB, free: 6.453 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.002014/0.002014, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.52/1.52, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.151/3.151, allocations: 0.49 GB / 0.7916 GB, free: 33.45 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.002029/0.002029, allocations: 68.34 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3213, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002776/0.3241, allocations: 1.619 MB / 1.322 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.3256, allocations: 0.954 MB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.472e-05/0.3257, allocations: 0 / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.3259, allocations: 67.66 kB / 1.323 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000433/0.3263, allocations: 139.3 kB / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.069e-05/0.3264, allocations: 8 kB / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004172/0.3268, allocations: 366.2 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.176e-05/0.3269, allocations: 33.03 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000284/0.3272, allocations: 159.4 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.3274, allocations: 139.3 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.3274, allocations: 16 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006907/0.3281, allocations: 0.5358 MB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.3281, allocations: 51.77 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.3283, allocations: 139.1 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.3296, allocations: 0.8497 MB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.3296, allocations: 3.984 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3296, allocations: 4 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.3296, allocations: 0 / 1.326 GB, free: 14.23 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.001422/0.331, allocations: 0.6628 MB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3311, allocations: 19.92 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.3311, allocations: 34.73 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.566e-05/0.3312, allocations: 28.75 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005206/0.3317, allocations: 378.6 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.3317, allocations: 8.312 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.3317, allocations: 4.375 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.3319, allocations: 105.2 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.3319, allocations: 0 / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3319, allocations: 0 / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3319, allocations: 4 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.332, allocations: 71.86 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.3324, allocations: 336.1 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.3325, allocations: 110.4 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.246e-05/0.3326, allocations: 63.39 kB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.3326, allocations: 3.984 kB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.3326, allocations: 38.5 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.3326, allocations: 0 / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003426/0.333, allocations: 185.3 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/0.3331, allocations: 133 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006079/0.3337, allocations: 0.5053 MB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.3337, allocations: 33.7 kB / 1.328 GB, free: 11.26 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.3338, allocations: 156.4 kB / 1.328 GB, free: 11.1 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.3338, allocations: 19.83 kB / 1.329 GB, free: 11.08 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.141e-05/0.3339, allocations: 41.7 kB / 1.329 GB, free: 11.03 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3341, allocations: 350.8 kB / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.3342, allocations: 95.92 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.3344, allocations: 158.7 kB / 1.329 GB, free: 10.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.3347, allocations: 239.2 kB / 1.329 GB, free: 10.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3347, allocations: 0 / 1.329 GB, free: 10.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000434/0.3352, allocations: 293.2 kB / 1.33 GB, free: 9.867 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3352, allocations: 4 kB / 1.33 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3352, allocations: 0 / 1.33 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3352, allocations: 7.984 kB / 1.33 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.3353, allocations: 23.92 kB / 1.33 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3354, allocations: 0 / 1.33 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.3355, allocations: 31.83 kB / 1.33 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.3355, allocations: 4 kB / 1.33 GB, free: 9.797 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.0001702/0.3357, allocations: 173.8 kB / 1.33 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/0.3358, allocations: 39.75 kB / 1.33 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000338/0.3361, allocations: 187.9 kB / 1.33 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3361, allocations: 0 / 1.33 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3361, allocations: 8 kB / 1.33 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3361, allocations: 3.938 kB / 1.33 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.3364, allocations: 289.5 kB / 1.33 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3364, allocations: 0 / 1.33 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.426e-05/0.3365, allocations: 19.92 kB / 1.33 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3365, allocations: 4 kB / 1.33 GB, free: 9.023 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.3365, allocations: 4 kB / 1.33 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3365, allocations: 4.062 kB / 1.33 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.3365, allocations: 8 kB / 1.33 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.3368, allocations: 187.4 kB / 1.331 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.3369, allocations: 140.8 kB / 1.331 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.337, allocations: 3.938 kB / 1.331 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.3371, allocations: 15.98 kB / 1.331 GB, free: 8.621 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.3371, allocations: 7.922 kB / 1.331 GB, free: 8.613 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.3372, allocations: 8 kB / 1.331 GB, free: 8.605 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004424/0.3376, allocations: 383 kB / 1.331 GB, free: 8.234 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3376, allocations: 0 / 1.331 GB, free: 8.234 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005288/0.3381, allocations: 99.94 kB / 1.331 GB, free: 8.137 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.00518/0.3433, allocations: 3.45 MB / 1.335 GB, free: 4.645 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005519/0.3439, allocations: 163.8 kB / 1.335 GB, free: 4.484 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.3439, allocations: 0 / 1.335 GB, free: 4.484 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.178e-05/0.3439, allocations: 43.91 kB / 1.335 GB, free: 4.441 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/0.3445, allocations: 59.78 kB / 1.335 GB, free: 4.387 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005124/0.3496, allocations: 3.482 MB / 1.338 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/0.3502, allocations: 0.8143 MB / 1.339 GB, free: 15.94 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001765/0.3504, allocations: 50.3 kB / 1.339 GB, free: 15.89 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.3506, allocations: 83.39 kB / 1.339 GB, free: 15.81 MB / 1.045 GB Notification: Performance of SimCode: time 6.92e-07/0.3506, allocations: 3.938 kB / 1.339 GB, free: 15.8 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03923/0.3898, allocations: 10.81 MB / 1.35 GB, free: 5.164 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.744/9.133, allocations: 13.72 kB / 1.35 GB, free: 5.152 MB / 1.045 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 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.csv","/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: 15.785530534107238]