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.001223/0.001223, allocations: 106.7 kB / 16.45 MB, free: 6.02 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.001289/0.001289, allocations: 205.7 kB / 19.42 MB, free: 3.516 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.36/1.36, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.924/2.924, allocations: 0.49 GB / 0.7916 GB, free: 33.34 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.001896/0.001896, allocations: 73.69 kB / 1.149 GB, free: 26.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2842, allocations: 176.1 MB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001755/0.286, allocations: 0.5346 MB / 1.321 GB, free: 2.82 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001145/0.2861, allocations: 11.92 kB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.2861, allocations: 4 kB / 1.321 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.377e-05/0.2861, allocations: 0 / 1.321 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.2863, allocations: 3.984 kB / 1.321 GB, free: 2.801 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.106e-06/0.2863, allocations: 0 / 1.321 GB, free: 2.801 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.406e-05/0.2863, allocations: 15.92 kB / 1.321 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.2864, allocations: 4 kB / 1.321 GB, free: 2.781 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.199e-05/0.2864, allocations: 0 / 1.321 GB, free: 2.781 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.352e-05/0.2864, allocations: 7.938 kB / 1.321 GB, free: 2.773 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.2864, allocations: 0 / 1.321 GB, free: 2.773 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.21e-06/0.2864, allocations: 0 / 1.321 GB, free: 2.773 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.658e-06/0.2864, allocations: 0 / 1.321 GB, free: 2.773 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.269e-05/0.2865, allocations: 0 / 1.321 GB, free: 2.773 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 4.982e-05/0.2865, allocations: 7.984 kB / 1.321 GB, free: 2.766 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2865, allocations: 0 / 1.321 GB, free: 2.766 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2865, allocations: 0 / 1.321 GB, free: 2.766 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2865, allocations: 3.938 kB / 1.321 GB, free: 2.762 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.0003387/0.2869, allocations: 319.8 kB / 1.322 GB, free: 2.398 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2869, allocations: 11.98 kB / 1.322 GB, free: 2.387 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.91e-05/0.2869, allocations: 34.75 kB / 1.322 GB, free: 2.344 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.468e-05/0.287, allocations: 4.938 kB / 1.322 GB, free: 2.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.2871, allocations: 164.3 kB / 1.322 GB, free: 2.141 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.2871, allocations: 384 / 1.322 GB, free: 2.141 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-06/0.2871, allocations: 4.312 kB / 1.322 GB, free: 2.137 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.2872, allocations: 51.91 kB / 1.322 GB, free: 2.074 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2872, allocations: 3.938 kB / 1.322 GB, free: 2.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.2872, allocations: 0 / 1.322 GB, free: 2.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2872, allocations: 0 / 1.322 GB, free: 2.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.564e-05/0.2873, allocations: 8 kB / 1.322 GB, free: 2.062 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.2874, allocations: 158.6 kB / 1.322 GB, free: 1.855 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.941e-05/0.2875, allocations: 45.25 kB / 1.322 GB, free: 1.793 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.152e-05/0.2875, allocations: 9.719 kB / 1.322 GB, free: 1.777 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.2876, allocations: 0 / 1.322 GB, free: 1.777 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.2876, allocations: 38.5 kB / 1.322 GB, free: 1.73 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2876, allocations: 0 / 1.322 GB, free: 1.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001509/0.2877, allocations: 45.62 kB / 1.322 GB, free: 1.68 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.2878, allocations: 85.3 kB / 1.322 GB, free: 1.578 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.716e-05/0.2879, allocations: 93.86 kB / 1.322 GB, free: 1.477 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.2879, allocations: 25.7 kB / 1.322 GB, free: 1.445 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.2879, allocations: 84.14 kB / 1.323 GB, free: 1.359 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.288, allocations: 3.953 kB / 1.323 GB, free: 1.355 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.288, allocations: 17.7 kB / 1.323 GB, free: 1.332 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.2882, allocations: 311.2 kB / 1.323 GB, free: 1.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.164e-05/0.2882, allocations: 0 / 1.323 GB, free: 1.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.377e-05/0.2882, allocations: 21.84 kB / 1.323 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.434e-05/0.2882, allocations: 13.72 kB / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2882, allocations: 0 / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.341e-05/0.2883, allocations: 45.62 kB / 1.323 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2883, allocations: 11.94 kB / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2883, allocations: 128 / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.2884, allocations: 4 kB / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.2884, allocations: 4 kB / 1.323 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.2884, allocations: 3.938 kB / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.569e-05/0.2884, allocations: 0 / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.2884, allocations: 4 kB / 1.323 GB, free: 0.8945 MB / 1.014 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 8.511e-05/0.2885, allocations: 113.8 kB / 1.323 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.2885, allocations: 3.938 kB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.2887, allocations: 56.75 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2887, allocations: 0 / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2887, allocations: 0 / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2887, allocations: 0 / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.2888, allocations: 153.6 kB / 1.323 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2888, allocations: 0 / 1.323 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.2888, allocations: 7.984 kB / 1.323 GB, free: 0.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2888, allocations: 3.938 kB / 1.323 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.2888, allocations: 3.938 kB / 1.323 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2888, allocations: 0 / 1.323 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2888, allocations: 4.062 kB / 1.323 GB, free: 500 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.437e-05/0.2889, allocations: 69.98 kB / 1.323 GB, free: 408 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/0.289, allocations: 81.06 kB / 1.323 GB, free: 308 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.289, allocations: 3.938 kB / 1.323 GB, free: 304 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.649e-05/0.289, allocations: 7.938 kB / 1.323 GB, free: 296 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-06/0.289, allocations: 0 / 1.323 GB, free: 296 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.289, allocations: 8.031 kB / 1.323 GB, free: 288 kB / 1.014 GB Notification: Performance of sorting global known variables: time 3.531e-05/0.2891, allocations: 75.28 kB / 1.323 GB, free: 212 kB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.2891, allocations: 4 kB / 1.323 GB, free: 208 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001757/0.2892, allocations: 4 kB / 1.324 GB, free: 204 kB / 1.014 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.0004293/0.2897, allocations: 0.6056 MB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.956e-05/0.2898, allocations: 15.92 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2898, allocations: 0 / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.3e-05/0.2898, allocations: 8 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.2899, allocations: 0 / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.2902, allocations: 127.7 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.2905, allocations: 0.6807 MB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.776e-05/0.2906, allocations: 0 / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.2906, allocations: 7.438 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.2906, allocations: 0 / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.3146, allocations: 0.924 MB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/7.945, allocations: 11.98 kB / 1.326 GB, free: 13.79 MB / 1.029 GB " [Timeout remaining time 292] (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: 13.8906106101349]