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.00143/0.00143, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001572/0.001572, allocations: 210.1 kB / 23.04 MB, free: 5.07 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.518/1.518, allocations: 230.6 MB / 256.8 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.183/3.183, allocations: 0.49 GB / 0.7959 GB, free: 33.36 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_12_Buildings_Fluid_Examples_Performance_Example8",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.001978/0.001978, allocations: 66.08 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3181, allocations: 176.1 MB / 1.327 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001633/0.3198, allocations: 0.5305 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000115/0.3199, allocations: 15.97 kB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.241e-05/0.3199, allocations: 4 kB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.3199, allocations: 3.938 kB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.32, allocations: 7.984 kB / 1.327 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.507e-06/0.32, allocations: 0 / 1.327 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.028e-05/0.3201, allocations: 4 kB / 1.327 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.221e-05/0.3201, allocations: 4 kB / 1.327 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.756e-05/0.3202, allocations: 3.938 kB / 1.327 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.665e-05/0.3202, allocations: 3.938 kB / 1.327 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.3202, allocations: 0 / 1.327 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.255e-06/0.3202, allocations: 4 kB / 1.327 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.3202, allocations: 7.984 kB / 1.327 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.243e-05/0.3203, allocations: 0 / 1.327 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 4.848e-05/0.3203, allocations: 3.984 kB / 1.327 GB, free: 1.41 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3203, allocations: 0 / 1.327 GB, free: 1.41 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3203, allocations: 0 / 1.327 GB, free: 1.41 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.3203, allocations: 0 / 1.327 GB, free: 1.41 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.0002753/0.3206, allocations: 244.2 kB / 1.327 GB, free: 1.141 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3206, allocations: 8.031 kB / 1.327 GB, free: 1.133 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.016e-05/0.3207, allocations: 4.188 kB / 1.327 GB, free: 1.129 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.3207, allocations: 34.75 kB / 1.327 GB, free: 1.086 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.3207, allocations: 4.922 kB / 1.328 GB, free: 1.082 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.38e-05/0.3208, allocations: 107 kB / 1.328 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.3208, allocations: 384 / 1.328 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-06/0.3208, allocations: 384 / 1.328 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.3209, allocations: 55.61 kB / 1.328 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3209, allocations: 0 / 1.328 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.3209, allocations: 0 / 1.328 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.321, allocations: 8 kB / 1.328 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.107e-05/0.321, allocations: 3.984 kB / 1.328 GB, free: 0.875 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001513/0.3211, allocations: 129.6 kB / 1.328 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.797e-05/0.3212, allocations: 41.22 kB / 1.328 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/0.3212, allocations: 9.719 kB / 1.328 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.3212, allocations: 4 kB / 1.328 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.3213, allocations: 46.55 kB / 1.328 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3213, allocations: 0 / 1.328 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001324/0.3214, allocations: 37.64 kB / 1.328 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.3214, allocations: 81.05 kB / 1.328 GB, free: 440 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.152e-05/0.3215, allocations: 101.8 kB / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.3215, allocations: 26.08 kB / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.087e-05/0.3216, allocations: 84.14 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.3216, allocations: 3.953 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.3216, allocations: 13.72 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3218, allocations: 314.8 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.3218, allocations: 0 / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.683e-05/0.3218, allocations: 13.72 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.638e-05/0.3218, allocations: 21.77 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3218, allocations: 0 / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.853e-05/0.3219, allocations: 49.64 kB / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3219, allocations: 10.28 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3219, allocations: 0 / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3219, allocations: 3.984 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.469e-05/0.322, allocations: 4 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.322, allocations: 7.922 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.703e-05/0.322, allocations: 8.062 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.322, allocations: 0 / 1.329 GB, free: 15.73 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.736e-05/0.3221, allocations: 110.3 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.3221, allocations: 11.94 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.3222, allocations: 40.69 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.3222, allocations: 0 / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3222, allocations: 3.938 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3222, allocations: 4.062 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.3223, allocations: 128.7 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3223, allocations: 0 / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.479e-05/0.3224, allocations: 4 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3224, allocations: 3.938 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.3224, allocations: 0 / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.3224, allocations: 7.938 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3224, allocations: 0 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.375e-05/0.3225, allocations: 69.98 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.3225, allocations: 7.938 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.3225, allocations: 0 / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.786e-05/0.3225, allocations: 4 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.3225, allocations: 3.938 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.3225, allocations: 4 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.867e-05/0.3226, allocations: 79.27 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3226, allocations: 4.125 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001752/0.3227, allocations: 0 / 1.329 GB, free: 15.17 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.000372/0.3231, allocations: 0.6015 MB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.711e-05/0.3232, allocations: 19.97 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3232, allocations: 0 / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-05/0.3232, allocations: 4 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.3233, allocations: 0 / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000319/0.3237, allocations: 131.5 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.3239, allocations: 0.669 MB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.977e-05/0.324, allocations: 8.25 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.324, allocations: 11.42 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.324, allocations: 0 / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.3437, allocations: 1.06 MB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.17, allocations: 14.42 kB / 1.332 GB, free: 12.68 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=400 --tolerance=1e-06 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.mat","/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.894136852002703]