Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002417/0.002417, allocations: 79.75 kB / 20.24 MB, free: 4.168 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.002868/0.002868, allocations: 157.4 kB / 23.55 MB, free: 0.8555 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 1.609/1.609, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.857/2.857, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.912e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001661/0.00169, allocations: 0.5422 MB / 0.7869 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001776/0.001867, allocations: 39.77 kB / 0.7869 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.686e-05/0.001914, allocations: 0 / 0.7869 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.2e-05/0.001956, allocations: 0.5625 kB / 0.7869 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.002092, allocations: 12.64 kB / 0.7869 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.932e-05/0.002151, allocations: 11.98 kB / 0.7869 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.488e-05/0.002206, allocations: 5 kB / 0.787 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.374e-05/0.00224, allocations: 0 / 0.787 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.951e-05/0.0023, allocations: 7.984 kB / 0.787 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.698e-05/0.002367, allocations: 12.66 kB / 0.787 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.002385, allocations: 0 / 0.787 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-06/0.002394, allocations: 6.625 kB / 0.787 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.24e-05/0.002446, allocations: 7.969 kB / 0.787 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.002472, allocations: 4 kB / 0.787 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.716e-05/0.002559, allocations: 15.86 kB / 0.787 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.002561, allocations: 0 / 0.787 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.91e-07/0.002562, allocations: 0 / 0.787 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.002566, allocations: 3.938 kB / 0.787 GB, free: 12.16 MB / 0.7448 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.000484/0.00305, allocations: 357.9 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.003086, allocations: 8.031 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.003123, allocations: 4.938 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.003292, allocations: 121.1 kB / 0.7875 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.003304, allocations: 4.375 kB / 0.7875 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.003322, allocations: 5.094 kB / 0.7875 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.455e-05/0.003396, allocations: 27.2 kB / 0.7875 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.003405, allocations: 192 / 0.7875 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.003411, allocations: 384 / 0.7875 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.267e-06/0.003414, allocations: 1.5 kB / 0.7875 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.701e-05/0.003441, allocations: 7.938 kB / 0.7875 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.003601, allocations: 116.7 kB / 0.7876 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.051e-05/0.003662, allocations: 28.38 kB / 0.7877 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.133e-05/0.003683, allocations: 11.75 kB / 0.7877 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.003697, allocations: 0 / 0.7877 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.00373, allocations: 35.3 kB / 0.7877 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.003731, allocations: 0 / 0.7877 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001482/0.003879, allocations: 41.62 kB / 0.7877 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.003927, allocations: 55.41 kB / 0.7878 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.00407, allocations: 171.4 kB / 0.788 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.004089, allocations: 25.7 kB / 0.788 GB, free: 11 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.815e-05/0.004168, allocations: 126.9 kB / 0.7881 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.004187, allocations: 7.953 kB / 0.7881 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.004225, allocations: 19.38 kB / 0.7881 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002693/0.004494, allocations: 0.4889 MB / 0.7886 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.256e-05/0.004507, allocations: 1.938 kB / 0.7886 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.00471, allocations: 23.38 kB / 0.7886 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.081e-05/0.004751, allocations: 19.38 kB / 0.7887 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.004753, allocations: 6.5 kB / 0.7887 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.698e-05/0.00483, allocations: 45.69 kB / 0.7887 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.004843, allocations: 4 kB / 0.7887 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.004847, allocations: 0 / 0.7887 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.00486, allocations: 3.938 kB / 0.7887 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.198e-05/0.004922, allocations: 4.25 kB / 0.7887 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.004931, allocations: 4.469 kB / 0.7887 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.283e-05/0.004964, allocations: 12.66 kB / 0.7887 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.00497, allocations: 0 / 0.7887 GB, free: 10.2 MB / 0.7448 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 0.0001087/0.005078, allocations: 157.1 kB / 0.7889 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.00509, allocations: 5.625 kB / 0.7889 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.548e-05/0.005186, allocations: 45.16 kB / 0.7889 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.005187, allocations: 0 / 0.7889 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.00519, allocations: 0 / 0.7889 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.005195, allocations: 4.531 kB / 0.7889 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.005322, allocations: 113.2 kB / 0.789 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.005323, allocations: 0 / 0.789 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.074e-05/0.005374, allocations: 8.766 kB / 0.7891 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.005376, allocations: 0 / 0.7891 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.005383, allocations: 0.9688 kB / 0.7891 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.005387, allocations: 4 kB / 0.7891 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.005387, allocations: 0 / 0.7891 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.005529, allocations: 88.98 kB / 0.7891 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/0.005549, allocations: 5.062 kB / 0.7891 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.005561, allocations: 0 / 0.7891 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.102e-05/0.005582, allocations: 0 / 0.7891 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.005602, allocations: 4.844 kB / 0.7891 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.005612, allocations: 7.984 kB / 0.7892 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.775e-05/0.005689, allocations: 124.7 kB / 0.7893 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00569, allocations: 0 / 0.7893 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001844/0.005874, allocations: 7.938 kB / 0.7893 GB, free: 9.566 MB / 0.7448 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.0001098/0.005984, allocations: 92.28 kB / 0.7894 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.185e-05/0.006076, allocations: 29.64 kB / 0.7894 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.006077, allocations: 0 / 0.7894 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.991e-05/0.006097, allocations: 11.69 kB / 0.7894 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.006239, allocations: 2.344 kB / 0.7894 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.006526, allocations: 121.1 kB / 0.7895 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.839e-05/0.006594, allocations: 67.33 kB / 0.7896 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.558e-05/0.00661, allocations: 0 / 0.7896 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.006636, allocations: 16.44 kB / 0.7896 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.006636, allocations: 0 / 0.7896 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of Templates: time 0.002782/0.009419, allocations: 355.4 kB / 0.7899 GB, free: 8.84 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.95840181002859]