Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_latest_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.001279/0.001279, allocations: 108 kB / 15.61 MB, free: 128 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.00129/0.00129, allocations: 191.9 kB / 16.53 MB, free: 6.668 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.439/1.439, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.863/2.863, allocations: 469.4 MB / 0.742 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 66.27 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2887, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002979/0.2917, allocations: 1.671 MB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002034/0.2938, allocations: 1.375 MB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.2939, allocations: 4 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.2943, allocations: 79.58 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.2945, allocations: 75.52 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008176/0.2953, allocations: 285.4 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000321/0.2957, allocations: 183.2 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.265e-05/0.2957, allocations: 13.48 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.2959, allocations: 75.7 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.2961, allocations: 87.59 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.2961, allocations: 8 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005824/0.2967, allocations: 339.4 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.2968, allocations: 67.8 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.2969, allocations: 87.47 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006507/0.2976, allocations: 398.8 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.2976, allocations: 0 / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2976, allocations: 3.938 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.2976, allocations: 0 / 1.068 GB, free: 9.781 MB / 0.8262 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.001014/0.2986, allocations: 0.5623 MB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.2987, allocations: 12.03 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.968e-05/0.2988, allocations: 30.75 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.896e-05/0.2988, allocations: 20.66 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.2993, allocations: 275.7 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.2994, allocations: 67.95 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.2994, allocations: 384 / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.2996, allocations: 93.53 kB / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.2997, allocations: 0 / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2997, allocations: 0 / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2997, allocations: 0 / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.2999, allocations: 107.9 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.3002, allocations: 245.4 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.3016, allocations: 298.4 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.3018, allocations: 64.81 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.3019, allocations: 101 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.3019, allocations: 34.5 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.302, allocations: 0 / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0005023/0.3025, allocations: 205.3 kB / 1.07 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.3025, allocations: 55.34 kB / 1.07 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.3028, allocations: 307.1 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.3028, allocations: 25.7 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.3029, allocations: 124.6 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.3029, allocations: 19.66 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.177e-05/0.303, allocations: 57.69 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3031, allocations: 338.8 kB / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.3034, allocations: 151.9 kB / 1.071 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.3036, allocations: 155.9 kB / 1.071 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/0.304, allocations: 301.6 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.304, allocations: 0 / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005647/0.3045, allocations: 400.8 kB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3046, allocations: 7.984 kB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.3046, allocations: 0 / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3046, allocations: 4 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.911e-05/0.3047, allocations: 12 kB / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3047, allocations: 4 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.3049, allocations: 39.77 kB / 1.072 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.3049, allocations: 0 / 1.072 GB, free: 5.473 MB / 0.8262 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.0001092/0.305, allocations: 134.3 kB / 1.072 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.305, allocations: 23.66 kB / 1.072 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003859/0.3054, allocations: 183.5 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3054, allocations: 0 / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3055, allocations: 0 / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3055, allocations: 0 / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.3057, allocations: 237.5 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3057, allocations: 3.938 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.565e-05/0.3058, allocations: 15.94 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3058, allocations: 4 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.3058, allocations: 11.98 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3058, allocations: 0 / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3058, allocations: 0 / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.3061, allocations: 180.8 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.643e-05/0.3062, allocations: 108.8 kB / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.3063, allocations: 0 / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.884e-05/0.3064, allocations: 7.984 kB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.3064, allocations: 7.938 kB / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.3064, allocations: 0 / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001781/0.3066, allocations: 201.9 kB / 1.073 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3066, allocations: 0 / 1.073 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004042/0.307, allocations: 119.9 kB / 1.073 GB, free: 4.156 MB / 0.8262 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.001084/0.3081, allocations: 0.8774 MB / 1.074 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005161/0.3086, allocations: 363 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3087, allocations: 0 / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.3088, allocations: 59.95 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.3091, allocations: 42.2 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.3121, allocations: 2.665 MB / 1.077 GB, free: 32 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.3124, allocations: 0.7396 MB / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.912e-05/0.3125, allocations: 9.094 kB / 1.078 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.546e-05/0.3126, allocations: 59.41 kB / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of SimCode: time 3.4e-07/0.3126, allocations: 0 / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.3362, allocations: 5.746 MB / 1.084 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.465/7.802, allocations: 3.938 kB / 1.084 GB, free: 9.609 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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