Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 187.7 kB / 22.22 MB, free: 5.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.612/2.612, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 63.89 kB / 1.061 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8309/0.8329, allocations: 160.8 MB / 1.218 GB, free: 3.602 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001703/0.8346, allocations: 0.5472 MB / 1.219 GB, free: 3.195 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001806/0.8348, allocations: 37.45 kB / 1.219 GB, free: 3.168 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.8348, allocations: 1.156 kB / 1.219 GB, free: 3.168 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.686e-05/0.8349, allocations: 0 / 1.219 GB, free: 3.168 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.835, allocations: 9.094 kB / 1.219 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.591e-05/0.8351, allocations: 6.219 kB / 1.219 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.015e-05/0.8351, allocations: 12.48 kB / 1.219 GB, free: 3.148 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.799e-05/0.8352, allocations: 10.23 kB / 1.219 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.811e-05/0.8352, allocations: 2.5 kB / 1.219 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.745e-05/0.8353, allocations: 16.11 kB / 1.219 GB, free: 3.129 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.8353, allocations: 5.062 kB / 1.219 GB, free: 3.125 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-06/0.8353, allocations: 1.125 kB / 1.219 GB, free: 3.125 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.623e-05/0.8354, allocations: 2.156 kB / 1.219 GB, free: 3.125 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.8354, allocations: 5.062 kB / 1.219 GB, free: 3.121 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 6.778e-05/0.8355, allocations: 16.31 kB / 1.219 GB, free: 3.109 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.8355, allocations: 0 / 1.219 GB, free: 3.109 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8355, allocations: 1.219 kB / 1.219 GB, free: 3.109 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.8355, allocations: 0 / 1.219 GB, free: 3.109 MB / 0.92 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.0004605/0.8359, allocations: 332.5 kB / 1.219 GB, free: 2.75 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.836, allocations: 13.47 kB / 1.219 GB, free: 2.746 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.836, allocations: 10.28 kB / 1.219 GB, free: 2.738 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.8362, allocations: 165.6 kB / 1.22 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.8362, allocations: 5.438 kB / 1.22 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.8363, allocations: 5.625 kB / 1.22 GB, free: 2.535 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.011e-05/0.8363, allocations: 32.94 kB / 1.22 GB, free: 2.5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.8363, allocations: 192 / 1.22 GB, free: 2.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.8364, allocations: 5.125 kB / 1.22 GB, free: 2.496 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.8364, allocations: 3.984 kB / 1.22 GB, free: 2.492 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.823e-05/0.8364, allocations: 6.531 kB / 1.22 GB, free: 2.488 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.8366, allocations: 153.5 kB / 1.22 GB, free: 2.293 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.219e-05/0.8366, allocations: 26.22 kB / 1.22 GB, free: 2.262 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.26e-05/0.8366, allocations: 7.234 kB / 1.22 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.8367, allocations: 0 / 1.22 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.8367, allocations: 35.69 kB / 1.22 GB, free: 2.211 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 3.066e-06/0.8367, allocations: 4 kB / 1.22 GB, free: 2.207 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.000167/0.8369, allocations: 47.77 kB / 1.22 GB, free: 2.164 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.8369, allocations: 52.62 kB / 1.22 GB, free: 2.102 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.837, allocations: 115.6 kB / 1.22 GB, free: 1.988 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.837, allocations: 27.11 kB / 1.22 GB, free: 1.957 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.8371, allocations: 81.61 kB / 1.22 GB, free: 1.875 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.8371, allocations: 0 / 1.22 GB, free: 1.875 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.8371, allocations: 20.06 kB / 1.22 GB, free: 1.852 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.8373, allocations: 316.5 kB / 1.221 GB, free: 1.535 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.747e-05/0.8373, allocations: 6.391 kB / 1.221 GB, free: 1.531 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.554e-05/0.8373, allocations: 18.5 kB / 1.221 GB, free: 1.512 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.356e-05/0.8374, allocations: 20.36 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8374, allocations: 1.531 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.527e-05/0.8374, allocations: 61.17 kB / 1.221 GB, free: 1.438 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.8375, allocations: 5.75 kB / 1.221 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.8375, allocations: 7.875 kB / 1.221 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.8375, allocations: 1.438 kB / 1.221 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.438e-05/0.8375, allocations: 3.281 kB / 1.221 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.8375, allocations: 0 / 1.221 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.292e-05/0.8376, allocations: 1.156 kB / 1.221 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.8376, allocations: 1.531 kB / 1.221 GB, free: 1.43 MB / 0.92 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.764e-05/0.8377, allocations: 123.7 kB / 1.221 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.495e-06/0.8377, allocations: 5.25 kB / 1.221 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.8378, allocations: 55.34 kB / 1.221 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.8378, allocations: 0 / 1.221 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.8378, allocations: 1.156 kB / 1.221 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.8378, allocations: 0 / 1.221 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.8379, allocations: 155.4 kB / 1.221 GB, free: 1.055 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8379, allocations: 0 / 1.221 GB, free: 1.055 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.421e-05/0.838, allocations: 7.453 kB / 1.221 GB, free: 1.051 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.838, allocations: 0 / 1.221 GB, free: 1.051 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.838, allocations: 5.344 kB / 1.221 GB, free: 1.047 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.838, allocations: 4.031 kB / 1.221 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.838, allocations: 0 / 1.221 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.8381, allocations: 78.52 kB / 1.221 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.423e-05/0.8382, allocations: 83.41 kB / 1.221 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.8382, allocations: 5.344 kB / 1.221 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.507e-05/0.8382, allocations: 5.312 kB / 1.221 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.8383, allocations: 4 kB / 1.221 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.8383, allocations: 5.531 kB / 1.221 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.839e-05/0.8383, allocations: 91.02 kB / 1.221 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8383, allocations: 0 / 1.221 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000186/0.8385, allocations: 2.844 kB / 1.221 GB, free: 0.7695 MB / 0.92 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.0001136/0.8386, allocations: 100.9 kB / 1.221 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.589e-05/0.8387, allocations: 12.58 kB / 1.221 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8387, allocations: 0 / 1.221 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-05/0.8387, allocations: 9.219 kB / 1.221 GB, free: 0.668 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.8389, allocations: 13.14 kB / 1.221 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.8391, allocations: 120 kB / 1.221 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.8396, allocations: 0.6827 MB / 1.222 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.055e-05/0.8396, allocations: 2.531 kB / 1.222 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.8396, allocations: 8.5 kB / 1.222 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.8396, allocations: 0 / 1.222 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of Templates: time 0.002683/0.8423, allocations: 324.8 kB / 1.222 GB, free: 15.66 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.674806244671345]