Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example5.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.0008353/0.0008353, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0008555/0.0008555, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8501/0.8501, allocations: 177.2 MB / 203.5 MB, free: 5.711 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.693/1.693, allocations: 377.8 MB / 0.6228 GB, free: 8.645 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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.549e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001165/0.001191, allocations: 0.5441 MB / 0.9827 GB, free: 1.547 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001463/0.001337, allocations: 47.75 kB / 0.9828 GB, free: 1.5 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.001383, allocations: 0 / 0.9828 GB, free: 1.5 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.001411, allocations: 0 / 0.9828 GB, free: 1.5 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.001554, allocations: 3.938 kB / 0.9828 GB, free: 1.496 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.848e-05/0.001603, allocations: 8 kB / 0.9828 GB, free: 1.488 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.294e-05/0.001666, allocations: 11.92 kB / 0.9828 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.001702, allocations: 3.984 kB / 0.9828 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.685e-05/0.001759, allocations: 4 kB / 0.9828 GB, free: 1.469 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.423e-05/0.001823, allocations: 7.984 kB / 0.9828 GB, free: 1.461 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.001846, allocations: 0 / 0.9828 GB, free: 1.461 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-06/0.001855, allocations: 8 kB / 0.9828 GB, free: 1.453 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 5.022e-05/0.001905, allocations: 7.938 kB / 0.9828 GB, free: 1.445 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.001927, allocations: 4 kB / 0.9828 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 5.935e-05/0.001987, allocations: 7.984 kB / 0.9828 GB, free: 1.434 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.001989, allocations: 3.938 kB / 0.9828 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of FrontEnd: time 6.41e-07/0.001989, allocations: 0 / 0.9828 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.001992, allocations: 0 / 0.9828 GB, free: 1.43 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003243/0.002317, allocations: 262.3 kB / 0.9831 GB, free: 1.141 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.002352, allocations: 8.031 kB / 0.9831 GB, free: 1.133 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.002379, allocations: 12.83 kB / 0.9831 GB, free: 1.121 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.002515, allocations: 113.7 kB / 0.9832 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-06/0.002523, allocations: 384 / 0.9832 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.002539, allocations: 384 / 0.9832 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.536e-05/0.002604, allocations: 38.25 kB / 0.9832 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.002612, allocations: 4.125 kB / 0.9832 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.00262, allocations: 4.375 kB / 0.9832 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.002624, allocations: 384 / 0.9832 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.476e-05/0.002639, allocations: 3.938 kB / 0.9832 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001089/0.002748, allocations: 101.3 kB / 0.9833 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.628e-05/0.002784, allocations: 26.55 kB / 0.9834 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.654e-05/0.0028, allocations: 16.91 kB / 0.9834 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.002813, allocations: 0 / 0.9834 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.00283, allocations: 30.56 kB / 0.9834 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 5.11e-07/0.002831, allocations: 0 / 0.9834 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001227/0.002953, allocations: 45.64 kB / 0.9835 GB, free: 0.6562 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.00298, allocations: 51.41 kB / 0.9835 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.3e-05/0.003043, allocations: 121.7 kB / 0.9836 GB, free: 476 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.003051, allocations: 25.7 kB / 0.9836 GB, free: 444 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.82e-05/0.00308, allocations: 80.14 kB / 0.9837 GB, free: 360 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.003098, allocations: 7.984 kB / 0.9837 GB, free: 352 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.191e-05/0.00312, allocations: 17.84 kB / 0.9837 GB, free: 328 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.003188, allocations: 314.8 kB / 0.984 GB, free: 4 kB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.003199, allocations: 0 / 0.984 GB, free: 4 kB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.051e-05/0.003229, allocations: 21.77 kB / 0.9841 GB, free: 15.97 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.996e-05/0.003259, allocations: 17.66 kB / 0.9841 GB, free: 15.95 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.003261, allocations: 4 kB / 0.9841 GB, free: 15.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.859e-05/0.00331, allocations: 49.58 kB / 0.9841 GB, free: 15.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.003321, allocations: 4 kB / 0.9841 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.003326, allocations: 8.109 kB / 0.9841 GB, free: 15.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.003338, allocations: 0 / 0.9841 GB, free: 15.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.856e-05/0.003396, allocations: 4 kB / 0.9842 GB, free: 15.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.003401, allocations: 0 / 0.9842 GB, free: 15.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.497e-05/0.003416, allocations: 11.94 kB / 0.9842 GB, free: 15.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.003422, allocations: 256 / 0.9842 GB, free: 15.87 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.502e-05/0.003467, allocations: 109.8 kB / 0.9843 GB, free: 15.75 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-06/0.00347, allocations: 0 / 0.9843 GB, free: 15.75 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.193e-05/0.003542, allocations: 61.02 kB / 0.9843 GB, free: 15.69 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.003544, allocations: 4 kB / 0.9843 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.003547, allocations: 4.031 kB / 0.9843 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.003552, allocations: 3.938 kB / 0.9843 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.849e-05/0.00362, allocations: 109.2 kB / 0.9844 GB, free: 15.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.003621, allocations: 0 / 0.9844 GB, free: 15.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/0.003654, allocations: 4 kB / 0.9844 GB, free: 15.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-07/0.003655, allocations: 0 / 0.9844 GB, free: 15.54 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.003663, allocations: 7.984 kB / 0.9845 GB, free: 15.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.003664, allocations: 0 / 0.9845 GB, free: 15.53 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.003665, allocations: 0 / 0.9845 GB, free: 15.53 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.833e-05/0.003753, allocations: 84.94 kB / 0.9845 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.579e-05/0.003769, allocations: 8.125 kB / 0.9845 GB, free: 15.42 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.003778, allocations: 0 / 0.9845 GB, free: 15.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-06/0.003786, allocations: 0 / 0.9845 GB, free: 15.42 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.003799, allocations: 7.984 kB / 0.9846 GB, free: 15.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.003801, allocations: 0 / 0.9846 GB, free: 15.41 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.948e-05/0.00383, allocations: 87.28 kB / 0.9846 GB, free: 15.32 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.00383, allocations: 0 / 0.9846 GB, free: 15.32 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001157/0.003946, allocations: 7.938 kB / 0.9846 GB, free: 15.32 MB / 0.948 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 6.983e-05/0.004016, allocations: 95.23 kB / 0.9847 GB, free: 15.21 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.793e-05/0.004084, allocations: 19.94 kB / 0.9848 GB, free: 15.19 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.004085, allocations: 0 / 0.9848 GB, free: 15.19 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.658e-06/0.004095, allocations: 11.98 kB / 0.9848 GB, free: 15.18 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001038/0.004199, allocations: 2.5 kB / 0.9848 GB, free: 15.18 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/0.004438, allocations: 134.5 kB / 0.9849 GB, free: 15.02 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.004478, allocations: 63.34 kB / 0.985 GB, free: 14.93 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/0.004499, allocations: 12.5 kB / 0.985 GB, free: 14.92 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/0.0045, allocations: 0 / 0.985 GB, free: 14.92 MB / 0.948 GB Notification: Performance of Templates: time 0.001358/0.005858, allocations: 0.5194 MB / 0.9855 GB, free: 14.4 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.6477180775254965]