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.0009311/0.0009311, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001084/0.001084, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.9021/0.9021, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.705/1.705, allocations: 377.8 MB / 0.6228 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example8") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.704e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001137/0.001164, allocations: 0.5253 MB / 0.9827 GB, free: 1.559 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001199/0.001284, allocations: 19.91 kB / 0.9827 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.54e-05/0.001309, allocations: 0 / 0.9827 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.713e-05/0.001326, allocations: 4 kB / 0.9827 GB, free: 1.535 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.001475, allocations: 7.938 kB / 0.9827 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.308e-06/0.001479, allocations: 0 / 0.9827 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.974e-05/0.001539, allocations: 3.938 kB / 0.9827 GB, free: 1.523 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.00158, allocations: 4 kB / 0.9827 GB, free: 1.52 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.938e-05/0.001629, allocations: 3.984 kB / 0.9827 GB, free: 1.516 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.371e-05/0.001663, allocations: 0 / 0.9827 GB, free: 1.516 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.001679, allocations: 4 kB / 0.9827 GB, free: 1.512 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.681e-06/0.001685, allocations: 0 / 0.9827 GB, free: 1.512 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.001696, allocations: 3.938 kB / 0.9827 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.254e-05/0.001709, allocations: 4 kB / 0.9827 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 4.763e-05/0.001756, allocations: 11.92 kB / 0.9828 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.001758, allocations: 0 / 0.9828 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.82e-07/0.001759, allocations: 3.938 kB / 0.9828 GB, free: 1.488 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.001763, allocations: 4 kB / 0.9828 GB, free: 1.484 MB / 0.9323 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.0002271/0.00199, allocations: 238.4 kB / 0.983 GB, free: 1.219 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.002025, allocations: 8.031 kB / 0.983 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.002054, allocations: 4.938 kB / 0.983 GB, free: 1.207 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.675e-05/0.002121, allocations: 105.8 kB / 0.9831 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.002131, allocations: 384 / 0.9831 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.00214, allocations: 4.375 kB / 0.9831 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.825e-05/0.002228, allocations: 51.91 kB / 0.9832 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.002235, allocations: 192 / 0.9832 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.002244, allocations: 384 / 0.9832 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.002249, allocations: 4.375 kB / 0.9832 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.002267, allocations: 3.938 kB / 0.9832 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001069/0.002374, allocations: 106.2 kB / 0.9833 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.391e-05/0.002418, allocations: 41.14 kB / 0.9833 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.002435, allocations: 9.719 kB / 0.9833 GB, free: 0.793 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.002465, allocations: 12.11 kB / 0.9833 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.002485, allocations: 30.56 kB / 0.9834 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.002485, allocations: 4 kB / 0.9834 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.000128/0.002613, allocations: 41.64 kB / 0.9834 GB, free: 0.6914 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.002648, allocations: 81.11 kB / 0.9835 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.477e-05/0.002692, allocations: 97.78 kB / 0.9836 GB, free: 500 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.002701, allocations: 25.7 kB / 0.9836 GB, free: 468 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 1.599e-05/0.002717, allocations: 84.14 kB / 0.9837 GB, free: 380 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.002742, allocations: 11.83 kB / 0.9837 GB, free: 368 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.002764, allocations: 13.72 kB / 0.9837 GB, free: 348 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.59e-05/0.00283, allocations: 315.2 kB / 0.984 GB, free: 24 kB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.726e-06/0.002838, allocations: 7.938 kB / 0.984 GB, free: 16 kB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.575e-05/0.002864, allocations: 13.72 kB / 0.984 GB, free: 16 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.002891, allocations: 21.7 kB / 0.984 GB, free: 15.97 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.002893, allocations: 0 / 0.984 GB, free: 15.97 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.233e-05/0.002935, allocations: 41.64 kB / 0.9841 GB, free: 15.92 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.002946, allocations: 4 kB / 0.9841 GB, free: 15.92 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.002951, allocations: 0 / 0.9841 GB, free: 15.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.002963, allocations: 128 / 0.9841 GB, free: 15.92 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.772e-05/0.00303, allocations: 11.98 kB / 0.9841 GB, free: 15.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.003035, allocations: 0 / 0.9841 GB, free: 15.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.254e-05/0.003047, allocations: 7.938 kB / 0.9841 GB, free: 15.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.003053, allocations: 0 / 0.9841 GB, free: 15.9 MB / 0.948 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 4.598e-05/0.003099, allocations: 109.8 kB / 0.9842 GB, free: 15.78 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-06/0.003104, allocations: 4 kB / 0.9842 GB, free: 15.78 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.486e-05/0.003188, allocations: 48.62 kB / 0.9843 GB, free: 15.73 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.00319, allocations: 3.938 kB / 0.9843 GB, free: 15.72 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.003194, allocations: 4.062 kB / 0.9843 GB, free: 15.72 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.003198, allocations: 3.938 kB / 0.9843 GB, free: 15.71 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.849e-05/0.003247, allocations: 101.3 kB / 0.9844 GB, free: 15.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.003248, allocations: 0 / 0.9844 GB, free: 15.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.639e-05/0.003264, allocations: 7.984 kB / 0.9844 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.003266, allocations: 0 / 0.9844 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.003271, allocations: 0 / 0.9844 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.003272, allocations: 4 kB / 0.9844 GB, free: 15.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.003275, allocations: 7.938 kB / 0.9844 GB, free: 15.57 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.931e-05/0.003324, allocations: 69.92 kB / 0.9844 GB, free: 15.48 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.003357, allocations: 8.031 kB / 0.9845 GB, free: 15.47 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.003368, allocations: 0 / 0.9845 GB, free: 15.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-06/0.003376, allocations: 0 / 0.9845 GB, free: 15.47 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.003388, allocations: 4 kB / 0.9845 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.003391, allocations: 0 / 0.9845 GB, free: 15.46 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.109e-05/0.003412, allocations: 79.22 kB / 0.9845 GB, free: 15.39 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.003412, allocations: 0 / 0.9845 GB, free: 15.39 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001164/0.003528, allocations: 11.94 kB / 0.9845 GB, free: 15.38 MB / 0.948 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 7.019e-05/0.003599, allocations: 95.23 kB / 0.9846 GB, free: 15.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.421e-05/0.003663, allocations: 16.03 kB / 0.9847 GB, free: 15.26 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.003665, allocations: 0 / 0.9847 GB, free: 15.26 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.019e-06/0.00367, allocations: 4 kB / 0.9847 GB, free: 15.25 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001/0.00377, allocations: 2.969 kB / 0.9847 GB, free: 15.25 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001824/0.003952, allocations: 127.3 kB / 0.9848 GB, free: 15.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.158e-05/0.003984, allocations: 55.36 kB / 0.9848 GB, free: 15.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.908e-05/0.004003, allocations: 8.5 kB / 0.9848 GB, free: 15.01 MB / 0.948 GB Notification: Performance of SimCode: time 3.41e-07/0.004003, allocations: 0 / 0.9848 GB, free: 15.01 MB / 0.948 GB Notification: Performance of Templates: time 0.001238/0.005241, allocations: 392 kB / 0.9852 GB, free: 14.63 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 400] 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/jenkins/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: 6.493405004031956]