Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example5.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.001274/0.001274, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001397/0.001397, allocations: 217.5 kB / 23.03 MB, free: 4.918 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.949/2.949, allocations: 0.49 GB / 0.7959 GB, free: 35.37 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_12_Buildings_Fluid_Examples_Performance_Example5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_12_Buildings_Fluid_Examples_Performance_Example5",fmuType="cs",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.001936/0.001936, allocations: 61.22 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3033, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001678/0.3049, allocations: 0.5379 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001634/0.3051, allocations: 48.11 kB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.122e-05/0.3052, allocations: 0 / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.466e-05/0.3052, allocations: 0 / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.3053, allocations: 3.938 kB / 1.327 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.498e-05/0.3054, allocations: 11.98 kB / 1.327 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.199e-05/0.3054, allocations: 11.92 kB / 1.327 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.3055, allocations: 4 kB / 1.327 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.78e-05/0.3055, allocations: 4 kB / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.606e-05/0.3056, allocations: 11.92 kB / 1.327 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.3056, allocations: 4 kB / 1.327 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-06/0.3056, allocations: 4 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.5e-05/0.3056, allocations: 3.984 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.3057, allocations: 7.938 kB / 1.327 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.348e-05/0.3057, allocations: 16.2 kB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3057, allocations: 0 / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3057, allocations: 0 / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.3057, allocations: 0 / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004291/0.3062, allocations: 250.4 kB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3062, allocations: 8.031 kB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.359e-05/0.3062, allocations: 8.188 kB / 1.327 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.987e-05/0.3062, allocations: 34.73 kB / 1.328 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.041e-05/0.3063, allocations: 8.938 kB / 1.328 GB, free: 500 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.3064, allocations: 114.4 kB / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.3064, allocations: 4.375 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.3065, allocations: 384 / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.769e-05/0.3065, allocations: 41.94 kB / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.3065, allocations: 0 / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-06/0.3066, allocations: 0 / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-06/0.3066, allocations: 0 / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.728e-05/0.3066, allocations: 8 kB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.3067, allocations: 124.8 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.113e-05/0.3068, allocations: 26.52 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.006e-05/0.3068, allocations: 8.844 kB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.3068, allocations: 0 / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.3068, allocations: 38.56 kB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.3068, allocations: 0 / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001482/0.307, allocations: 37.69 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.307, allocations: 55.41 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.3071, allocations: 109.8 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.3072, allocations: 33.83 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.3072, allocations: 84.14 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.3072, allocations: 7.938 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.3073, allocations: 21.66 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3074, allocations: 310.8 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.3074, allocations: 4.25 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.495e-05/0.3074, allocations: 17.7 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.144e-05/0.3075, allocations: 25.72 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3075, allocations: 64 / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.28e-05/0.3075, allocations: 49.62 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3076, allocations: 7.938 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3076, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.3076, allocations: 11.97 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.693e-05/0.3076, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3076, allocations: 4 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.202e-05/0.3077, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.3077, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 7.94e-05/0.3078, allocations: 114.4 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.3078, allocations: 11.95 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.3079, allocations: 57.08 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3079, allocations: 0 / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3079, allocations: 0 / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.3079, allocations: 3.938 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.308, allocations: 132.7 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.308, allocations: 0 / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/0.308, allocations: 4 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.308, allocations: 3.938 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.3081, allocations: 0 / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3081, allocations: 4.031 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3081, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.3082, allocations: 81.05 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.3082, allocations: 7.891 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.3082, allocations: 4.031 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.041e-05/0.3082, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.3083, allocations: 3.984 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.3083, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.297e-05/0.3083, allocations: 87.28 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3083, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001743/0.3085, allocations: 4 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0004283/0.3089, allocations: 0.6164 MB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.789e-05/0.309, allocations: 15.98 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.309, allocations: 4 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.47e-05/0.309, allocations: 7.984 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.3091, allocations: 3.938 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.3102, allocations: 1.159 MB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.832e-05/0.3102, allocations: 67.34 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.684e-05/0.3103, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.3103, allocations: 11.44 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3103, allocations: 4 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.3323, allocations: 1.363 MB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.94, allocations: 6.25 kB / 1.332 GB, free: 11.36 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.12747563899029]