Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example8.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.001588/0.001588, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001926/0.001926, allocations: 219.9 kB / 22.26 MB, free: 5.125 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.961 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 3.03/3.03, allocations: 0.49 GB / 0.7951 GB, free: 33.31 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.Example8,fileNamePrefix="Buildings_12_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_12_Buildings_Fluid_Examples_Performance_Example8",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.001987/0.001987, allocations: 71.59 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3002, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001698/0.3019, allocations: 0.5382 MB / 1.326 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001201/0.302, allocations: 15.92 kB / 1.326 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.787e-05/0.302, allocations: 0 / 1.326 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.126e-05/0.302, allocations: 0 / 1.326 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.3022, allocations: 3.938 kB / 1.326 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.116e-06/0.3022, allocations: 0 / 1.326 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.145e-05/0.3022, allocations: 7.984 kB / 1.326 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.3022, allocations: 7.984 kB / 1.326 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.34e-05/0.3023, allocations: 4 kB / 1.326 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.381e-05/0.3023, allocations: 3.938 kB / 1.326 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.3023, allocations: 4 kB / 1.326 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.809e-06/0.3023, allocations: 0 / 1.326 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.3024, allocations: 3.938 kB / 1.326 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.583e-05/0.3024, allocations: 4 kB / 1.326 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 4.074e-05/0.3024, allocations: 0 / 1.326 GB, free: 1.348 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3024, allocations: 0 / 1.326 GB, free: 1.348 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3024, allocations: 0 / 1.326 GB, free: 1.348 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.3024, allocations: 3.938 kB / 1.326 GB, free: 1.344 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002719/0.3027, allocations: 238.7 kB / 1.327 GB, free: 1.078 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3027, allocations: 12.03 kB / 1.327 GB, free: 1.066 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.3028, allocations: 38.75 kB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.802e-05/0.3028, allocations: 0.9375 kB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.229e-05/0.3029, allocations: 102.5 kB / 1.327 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.3029, allocations: 4.375 kB / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-06/0.3029, allocations: 384 / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.303, allocations: 44.38 kB / 1.327 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.303, allocations: 7.875 kB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.303, allocations: 0 / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.303, allocations: 4 kB / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.171e-05/0.303, allocations: 8 kB / 1.327 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.3032, allocations: 133.6 kB / 1.327 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.2e-05/0.3032, allocations: 41.09 kB / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.196e-05/0.3032, allocations: 13.84 kB / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.3033, allocations: 4 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.3033, allocations: 34.56 kB / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.3033, allocations: 0 / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001304/0.3034, allocations: 49.56 kB / 1.327 GB, free: 472 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.3035, allocations: 77.11 kB / 1.327 GB, free: 376 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.32e-05/0.3035, allocations: 94.11 kB / 1.327 GB, free: 272 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.3035, allocations: 29.83 kB / 1.327 GB, free: 236 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.3036, allocations: 88.08 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.3036, allocations: 3.953 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.3036, allocations: 13.7 kB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3038, allocations: 314.8 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.3038, allocations: 4 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.67e-05/0.3038, allocations: 17.66 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.138e-05/0.3038, allocations: 17.78 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3038, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.503e-05/0.3039, allocations: 45.62 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3039, allocations: 13.5 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.3039, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3039, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.671e-05/0.304, allocations: 8 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.304, allocations: 3.938 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.628e-05/0.304, allocations: 4.062 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.304, allocations: 0 / 1.328 GB, free: 15.67 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 6.701e-05/0.3041, allocations: 109.8 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.3041, allocations: 7.922 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.3042, allocations: 44.64 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3042, allocations: 7.984 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3042, allocations: 4.062 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.3042, allocations: 3.984 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.3043, allocations: 124.7 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3043, allocations: 0 / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.3043, allocations: 4 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3043, allocations: 3.938 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.3044, allocations: 3.984 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3044, allocations: 3.938 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3044, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.338e-05/0.3044, allocations: 70 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.049e-05/0.3045, allocations: 3.984 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.3045, allocations: 3.938 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.683e-05/0.3045, allocations: 4 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.3045, allocations: 0 / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.3045, allocations: 4 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.553e-05/0.3046, allocations: 75.28 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3046, allocations: 4.125 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001834/0.3047, allocations: 4 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0003822/0.3051, allocations: 0.6093 MB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.227e-05/0.3052, allocations: 19.95 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3052, allocations: 3.938 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-05/0.3052, allocations: 4 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.3053, allocations: 4 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.3056, allocations: 119.6 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.3059, allocations: 0.6729 MB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.739e-05/0.3059, allocations: 4.25 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.3059, allocations: 7.438 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3059, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.3319, allocations: 1.038 MB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.88, allocations: 18.5 kB / 1.331 GB, free: 12.63 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Buildings_12_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example8_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.Example8.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.279888868000853]