Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_latest_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.00513/0.00513, allocations: 101.9 kB / 15.73 MB, free: 6.023 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.001186/0.001187, allocations: 196.1 kB / 16.68 MB, free: 5.934 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.584/2.584, allocations: 469.4 MB / 0.7422 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 67.83 kB / 1.064 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6893/0.6907, allocations: 159.1 MB / 1.22 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002858/0.6936, allocations: 1.579 MB / 1.221 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.6951, allocations: 0.9238 MB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.6953, allocations: 0 / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.6956, allocations: 59.66 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000508/0.6961, allocations: 147.3 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 4.542e-05/0.6962, allocations: 11.98 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000419/0.6966, allocations: 370.2 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.6967, allocations: 48.73 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.697, allocations: 143.4 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.6972, allocations: 135.3 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.616e-05/0.6973, allocations: 16 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/0.7004, allocations: 0.5629 MB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.7005, allocations: 55.75 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.7007, allocations: 131.2 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01436/0.7151, allocations: 13.23 MB / 1.237 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.7151, allocations: 4 kB / 1.237 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7151, allocations: 0 / 1.237 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.7151, allocations: 0 / 1.237 GB, free: 0.832 MB / 0.9512 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.001553/0.7167, allocations: 0.6691 MB / 1.237 GB, free: 116 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.7168, allocations: 8.625 kB / 1.237 GB, free: 108 kB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.7168, allocations: 30.75 kB / 1.237 GB, free: 68 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.345e-05/0.7169, allocations: 40.64 kB / 1.237 GB, free: 28 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005842/0.7175, allocations: 378.6 kB / 1.238 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.7175, allocations: 4.375 kB / 1.238 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.7176, allocations: 8.375 kB / 1.238 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.7177, allocations: 101.1 kB / 1.238 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.7177, allocations: 4 kB / 1.238 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.7178, allocations: 4 kB / 1.238 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.7178, allocations: 0 / 1.238 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.7179, allocations: 67.86 kB / 1.238 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.7184, allocations: 348 kB / 1.238 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.7186, allocations: 102.4 kB / 1.238 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.529e-05/0.7186, allocations: 63.39 kB / 1.238 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.7187, allocations: 3.984 kB / 1.238 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.7187, allocations: 46.5 kB / 1.239 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.7187, allocations: 3.938 kB / 1.239 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003611/0.7191, allocations: 189.2 kB / 1.239 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.7192, allocations: 129 kB / 1.239 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005724/0.7197, allocations: 0.5054 MB / 1.239 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.7198, allocations: 25.7 kB / 1.239 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.7199, allocations: 156.4 kB / 1.239 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.7199, allocations: 23.83 kB / 1.24 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.189e-05/0.72, allocations: 49.69 kB / 1.24 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.7201, allocations: 338.8 kB / 1.24 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.7203, allocations: 95.92 kB / 1.24 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.7204, allocations: 172.9 kB / 1.24 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.7207, allocations: 231.2 kB / 1.24 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7207, allocations: 0 / 1.24 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004228/0.7212, allocations: 301.2 kB / 1.241 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.7212, allocations: 9.719 kB / 1.241 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.7212, allocations: 0 / 1.241 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.7212, allocations: 8 kB / 1.241 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.7214, allocations: 15.98 kB / 1.241 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.7214, allocations: 3.938 kB / 1.241 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.7216, allocations: 19.88 kB / 1.241 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.7216, allocations: 7.984 kB / 1.241 GB, free: 12.39 MB / 0.9669 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.000167/0.7218, allocations: 177.8 kB / 1.241 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.7219, allocations: 31.75 kB / 1.241 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000328/0.7222, allocations: 187.7 kB / 1.241 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.7222, allocations: 0 / 1.241 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7222, allocations: 0 / 1.241 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.7222, allocations: 4 kB / 1.241 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.7225, allocations: 297.4 kB / 1.241 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.7225, allocations: 7.875 kB / 1.241 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.596e-05/0.7226, allocations: 19.92 kB / 1.241 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.175e-06/0.7226, allocations: 0 / 1.241 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.7227, allocations: 4 kB / 1.241 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.7227, allocations: 128 / 1.241 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7227, allocations: 7.938 kB / 1.241 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.7229, allocations: 191.4 kB / 1.242 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.7231, allocations: 132.8 kB / 1.242 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.312e-05/0.7232, allocations: 4 kB / 1.242 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.7233, allocations: 19.98 kB / 1.242 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.7233, allocations: 4 kB / 1.242 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.7234, allocations: 4 kB / 1.242 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004358/0.7238, allocations: 379 kB / 1.242 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.874e-06/0.7238, allocations: 0 / 1.242 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005283/0.7243, allocations: 107.8 kB / 1.242 GB, free: 10.73 MB / 0.9669 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.004935/0.7293, allocations: 3.443 MB / 1.246 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003912/0.7297, allocations: 171.8 kB / 1.246 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.7297, allocations: 0 / 1.246 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.326e-05/0.7298, allocations: 47.89 kB / 1.246 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.7303, allocations: 54.11 kB / 1.246 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.7346, allocations: 3.493 MB / 1.249 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.735, allocations: 0.8182 MB / 1.25 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001434/0.7351, allocations: 53.91 kB / 1.25 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.7353, allocations: 75.41 kB / 1.25 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of SimCode: time 6.11e-07/0.7353, allocations: 0 / 1.25 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.7639, allocations: 10.72 MB / 1.261 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/8.783, allocations: 7.359 kB / 1.261 GB, free: 7.859 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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