Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.001596/0.001596, allocations: 101.3 kB / 16.45 MB, free: 6.449 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.001761/0.001761, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.517/1.517, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.901/2.901, allocations: 476.7 MB / 0.7672 GB, free: 5.227 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",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.002052/0.002052, allocations: 67.89 kB / 1.112 GB, free: 1.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.028, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003698/1.032, allocations: 1.702 MB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002871/1.035, allocations: 1.409 MB / 1.281 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/1.035, allocations: 4 kB / 1.281 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004398/1.035, allocations: 91.45 kB / 1.281 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001555/1.035, allocations: 67.58 kB / 1.281 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008263/1.036, allocations: 279.2 kB / 1.282 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002672/1.036, allocations: 187.2 kB / 1.282 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.201e-05/1.036, allocations: 9.5 kB / 1.282 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/1.037, allocations: 87.62 kB / 1.282 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/1.037, allocations: 87.59 kB / 1.282 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/1.037, allocations: 7.984 kB / 1.282 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005664/1.037, allocations: 335.4 kB / 1.282 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.82e-05/1.037, allocations: 67.78 kB / 1.282 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/1.038, allocations: 99.41 kB / 1.283 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000583/1.038, allocations: 390.6 kB / 1.283 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/1.038, allocations: 0 / 1.283 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.914e-06/1.038, allocations: 0 / 1.283 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.466e-06/1.038, allocations: 4 kB / 1.283 GB, free: 8.59 MB / 0.9825 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/1.039, allocations: 0.5602 MB / 1.283 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/1.039, allocations: 8.031 kB / 1.283 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.024e-05/1.039, allocations: 42.73 kB / 1.284 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/1.039, allocations: 24.75 kB / 1.284 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/1.04, allocations: 275.8 kB / 1.284 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/1.04, allocations: 67.89 kB / 1.284 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/1.04, allocations: 4.375 kB / 1.284 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/1.04, allocations: 97.59 kB / 1.284 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/1.04, allocations: 3.938 kB / 1.284 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/1.04, allocations: 0 / 1.284 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/1.04, allocations: 0 / 1.284 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002573/1.04, allocations: 99.92 kB / 1.284 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/1.041, allocations: 257.4 kB / 1.284 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/1.042, allocations: 290.4 kB / 1.285 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/1.042, allocations: 56.83 kB / 1.285 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/1.042, allocations: 112.9 kB / 1.285 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/1.043, allocations: 38.5 kB / 1.285 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/1.043, allocations: 0 / 1.285 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0005325/1.043, allocations: 201.5 kB / 1.285 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/1.043, allocations: 55.41 kB / 1.285 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/1.043, allocations: 299.2 kB / 1.285 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/1.043, allocations: 29.7 kB / 1.285 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.57e-05/1.044, allocations: 124.6 kB / 1.285 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/1.044, allocations: 23.8 kB / 1.285 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-05/1.044, allocations: 53.69 kB / 1.286 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001855/1.044, allocations: 338.8 kB / 1.286 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/1.044, allocations: 151.9 kB / 1.286 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/1.044, allocations: 159.9 kB / 1.286 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/1.045, allocations: 293.6 kB / 1.286 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.045, allocations: 0 / 1.286 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006013/1.045, allocations: 404.9 kB / 1.287 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/1.045, allocations: 7.938 kB / 1.287 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/1.045, allocations: 7.984 kB / 1.287 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/1.045, allocations: 0 / 1.287 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.642e-05/1.046, allocations: 12 kB / 1.287 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/1.046, allocations: 0 / 1.287 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/1.046, allocations: 39.61 kB / 1.287 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/1.046, allocations: 4 kB / 1.287 GB, free: 4.254 MB / 0.9825 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.0001324/1.046, allocations: 137.8 kB / 1.287 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/1.046, allocations: 23.8 kB / 1.287 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/1.046, allocations: 159.5 kB / 1.287 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/1.046, allocations: 3.938 kB / 1.287 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.046, allocations: 4.312 kB / 1.287 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.046, allocations: 3.984 kB / 1.287 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/1.047, allocations: 233.6 kB / 1.287 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/1.047, allocations: 7.938 kB / 1.287 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.18e-05/1.047, allocations: 15.98 kB / 1.287 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/1.047, allocations: 3.984 kB / 1.287 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/1.047, allocations: 7.938 kB / 1.287 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/1.047, allocations: 0 / 1.287 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.047, allocations: 0 / 1.287 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/1.047, allocations: 188.9 kB / 1.288 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-05/1.047, allocations: 104.9 kB / 1.288 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/1.047, allocations: 4 kB / 1.288 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.865e-05/1.047, allocations: 7.984 kB / 1.288 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/1.047, allocations: 8 kB / 1.288 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/1.047, allocations: 4 kB / 1.288 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001982/1.047, allocations: 197.9 kB / 1.288 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/1.047, allocations: 4 kB / 1.288 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004074/1.048, allocations: 111.8 kB / 1.288 GB, free: 2.945 MB / 0.9825 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.001118/1.049, allocations: 0.8741 MB / 1.289 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000555/1.05, allocations: 311.3 kB / 1.289 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.05, allocations: 0 / 1.289 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/1.05, allocations: 59.91 kB / 1.289 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/1.05, allocations: 47.41 kB / 1.289 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/1.053, allocations: 2.704 MB / 1.292 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/1.054, allocations: 0.7435 MB / 1.293 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.181e-05/1.054, allocations: 21.38 kB / 1.293 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/1.054, allocations: 55.42 kB / 1.293 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/1.054, allocations: 3.938 kB / 1.293 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/1.085, allocations: 5.831 MB / 1.298 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.744/9.828, allocations: 15.56 kB / 1.298 GB, free: 8.328 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,T,TMonotone,errMonotone,errNonMonotone Variables in the result:time,T,TExa,TMonotone,errMonotone,errNonMonotone [Calling sys.exit(0), Time elapsed: 16.32531180791557]