Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",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.005716/0.005716, allocations: 101.1 kB / 15.73 MB, free: 5.508 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.001357/0.001357, allocations: 195.7 kB / 16.67 MB, free: 5.438 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.27 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.495/2.495, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 68.89 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2983, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002961/0.3013, allocations: 1.671 MB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002395/0.3038, allocations: 1.354 MB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.304, allocations: 8 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000519/0.3046, allocations: 87.5 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.3048, allocations: 67.59 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009839/0.3058, allocations: 287.1 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000316/0.3061, allocations: 191.2 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.756e-05/0.3062, allocations: 5.5 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.3064, allocations: 83.69 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.3065, allocations: 83.61 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.3066, allocations: 4 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006166/0.3072, allocations: 339.4 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.3073, allocations: 71.78 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.3074, allocations: 99.34 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007536/0.3082, allocations: 390.7 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.645e-05/0.3082, allocations: 4 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3082, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.539e-05/0.3083, allocations: 4 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001188/0.3095, allocations: 0.5679 MB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.3095, allocations: 16.03 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.132e-05/0.3096, allocations: 30.75 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.535e-05/0.3097, allocations: 24.8 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006611/0.3103, allocations: 299.7 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.3105, allocations: 59.97 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.3105, allocations: 4.375 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.3108, allocations: 89.58 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3108, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.3108, allocations: 4 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.3109, allocations: 3.938 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.3111, allocations: 103.9 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.3115, allocations: 249.5 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.3129, allocations: 294.3 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.3131, allocations: 60.83 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.3132, allocations: 101 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.3133, allocations: 34.56 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.3133, allocations: 0 / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0005203/0.3138, allocations: 205.4 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.3138, allocations: 59.34 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.3142, allocations: 303.2 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.3142, allocations: 29.7 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.3143, allocations: 124.6 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.3143, allocations: 23.78 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.732e-05/0.3144, allocations: 57.69 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.3146, allocations: 330.8 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.3148, allocations: 159.9 kB / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.3151, allocations: 151.9 kB / 1.095 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004279/0.3155, allocations: 293.6 kB / 1.096 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3155, allocations: 4 kB / 1.096 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005833/0.3161, allocations: 400.9 kB / 1.096 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3162, allocations: 4 kB / 1.096 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.3162, allocations: 4 kB / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3162, allocations: 0 / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.3163, allocations: 15.98 kB / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3163, allocations: 4 kB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.3165, allocations: 35.67 kB / 1.096 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.3165, allocations: 4 kB / 1.096 GB, free: 8.887 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000127/0.3166, allocations: 131.8 kB / 1.096 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.3167, allocations: 27.75 kB / 1.096 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/0.3171, allocations: 171.7 kB / 1.096 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.3171, allocations: 0 / 1.096 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3171, allocations: 7.938 kB / 1.096 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3171, allocations: 4 kB / 1.096 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.3173, allocations: 233.6 kB / 1.097 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.3174, allocations: 3.938 kB / 1.097 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.682e-05/0.3175, allocations: 19.92 kB / 1.097 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3175, allocations: 0 / 1.097 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.3175, allocations: 4 kB / 1.097 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3175, allocations: 4 kB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3175, allocations: 0 / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.3179, allocations: 184.8 kB / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.318, allocations: 112.9 kB / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.318, allocations: 0 / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.252e-05/0.3181, allocations: 8 kB / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.3182, allocations: 7.984 kB / 1.097 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.3182, allocations: 0 / 1.097 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002066/0.3184, allocations: 197.9 kB / 1.097 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3184, allocations: 0 / 1.097 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004443/0.3189, allocations: 115.7 kB / 1.097 GB, free: 7.582 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.001168/0.3201, allocations: 0.8813 MB / 1.098 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005987/0.3207, allocations: 367 kB / 1.098 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3207, allocations: 0 / 1.098 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.3208, allocations: 51.97 kB / 1.098 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.3212, allocations: 44.83 kB / 1.099 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/0.3245, allocations: 2.695 MB / 1.101 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.3248, allocations: 0.7357 MB / 1.102 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.3249, allocations: 17.41 kB / 1.102 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.965e-05/0.325, allocations: 63.34 kB / 1.102 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of SimCode: time 6.51e-07/0.325, allocations: 0 / 1.102 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.3515, allocations: 5.783 MB / 1.108 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.21, allocations: 9.578 kB / 1.108 GB, free: 12.96 MB / 0.8731 GB (rm -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,T,TMonotone,errMonotone,errNonMonotone Variables in the result:time,T,TExa,TMonotone,errMonotone,errNonMonotone