Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_10_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.004848/0.004848, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001323/0.001323, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.775/2.775, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2931, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002704/0.2958, allocations: 1.673 MB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002072/0.2979, allocations: 1.36 MB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.337e-05/0.298, allocations: 4 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.2984, allocations: 91.5 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.2985, allocations: 75.58 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007112/0.2992, allocations: 275.1 kB / 1.17 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.2995, allocations: 195.1 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.2995, allocations: 9.5 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.2997, allocations: 75.69 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.2998, allocations: 83.67 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.2998, allocations: 8 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000563/0.3004, allocations: 343.4 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.833e-05/0.3005, allocations: 67.78 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.3006, allocations: 95.41 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005528/0.3012, allocations: 398.6 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3012, allocations: 4 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.996e-06/0.3012, allocations: 3.984 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.3012, allocations: 0 / 1.171 GB, free: 2.547 MB / 0.92 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.0008827/0.3021, allocations: 0.5563 MB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3022, allocations: 16.03 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.971e-05/0.3022, allocations: 34.75 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/0.3023, allocations: 28.73 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000436/0.3027, allocations: 287.8 kB / 1.172 GB, free: 1.539 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.3028, allocations: 59.97 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.3029, allocations: 8.375 kB / 1.172 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.3031, allocations: 89.58 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3031, allocations: 4 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.3031, allocations: 0 / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3031, allocations: 0 / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/0.3034, allocations: 99.94 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.3037, allocations: 253.5 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.3051, allocations: 298.3 kB / 1.172 GB, free: 0.668 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.3052, allocations: 60.77 kB / 1.172 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/0.3054, allocations: 109 kB / 1.173 GB, free: 492 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.3054, allocations: 30.56 kB / 1.173 GB, free: 452 kB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3054, allocations: 0 / 1.173 GB, free: 452 kB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0004935/0.3059, allocations: 209.5 kB / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.306, allocations: 55.34 kB / 1.173 GB, free: 168 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.3063, allocations: 303.2 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.3063, allocations: 29.7 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.3064, allocations: 116.6 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.3065, allocations: 23.78 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.403e-05/0.3065, allocations: 61.64 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3067, allocations: 334.8 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.307, allocations: 159.9 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.3072, allocations: 159.5 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.3077, allocations: 289.5 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3077, allocations: 4 kB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005913/0.3083, allocations: 401.2 kB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3083, allocations: 11.94 kB / 1.175 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.3083, allocations: 0 / 1.175 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3083, allocations: 3.984 kB / 1.175 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.751e-05/0.3084, allocations: 15.98 kB / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3084, allocations: 4 kB / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.3086, allocations: 31.67 kB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.3086, allocations: 4 kB / 1.175 GB, free: 14.2 MB / 0.9356 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.0001257/0.3087, allocations: 136.2 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.3088, allocations: 23.8 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003802/0.3091, allocations: 171.7 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.3092, allocations: 4 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3092, allocations: 0 / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3092, allocations: 4 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.3094, allocations: 237.6 kB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3094, allocations: 3.938 kB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.262e-05/0.3095, allocations: 15.98 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3095, allocations: 0 / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3095, allocations: 0 / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3095, allocations: 4 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3095, allocations: 4 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.3099, allocations: 184.9 kB / 1.175 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.046e-05/0.31, allocations: 104.9 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.31, allocations: 4 kB / 1.176 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.058e-05/0.3101, allocations: 8 kB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.3102, allocations: 7.984 kB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.3102, allocations: 3.938 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001879/0.3104, allocations: 197.9 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3104, allocations: 0 / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003773/0.3108, allocations: 115.7 kB / 1.176 GB, free: 12.9 MB / 0.9356 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.001071/0.3118, allocations: 0.8851 MB / 1.177 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005553/0.3124, allocations: 363.2 kB / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3124, allocations: 0 / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.3126, allocations: 59.97 kB / 1.177 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.3129, allocations: 32.89 kB / 1.177 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/0.3161, allocations: 2.695 MB / 1.18 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.3165, allocations: 0.7357 MB / 1.181 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.583e-05/0.3166, allocations: 25.38 kB / 1.181 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.275e-05/0.3167, allocations: 59.41 kB / 1.181 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.3167, allocations: 0 / 1.181 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02795/0.3446, allocations: 5.789 MB / 1.186 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.221/8.566, allocations: 3.406 kB / 1.186 GB, free: 2.293 MB / 0.9356 GB (rm -f Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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