Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001474/0.001474, allocations: 79.59 kB / 19.18 MB, free: 2.516 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.001507/0.001507, allocations: 162.4 kB / 22.46 MB, free: 5.375 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.47/1.47, allocations: 177.2 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.062/3.062, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 3.938 kB / 1 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.722e-05, allocations: 2.281 kB / 1 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001795/0.001822, allocations: 0.5363 MB / 1.001 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.000206/0.002028, allocations: 49.73 kB / 1.001 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/0.00208, allocations: 4 kB / 1.001 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.114e-05/0.002111, allocations: 0 / 1.001 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.002253, allocations: 0 / 1.001 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 5.949e-05/0.002312, allocations: 7.938 kB / 1.001 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.999e-05/0.002402, allocations: 15.91 kB / 1.001 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.206e-05/0.002454, allocations: 4 kB / 1.001 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.746e-05/0.002512, allocations: 4 kB / 1.001 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.202e-05/0.002584, allocations: 7.984 kB / 1.001 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.002603, allocations: 3.938 kB / 1.001 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.002614, allocations: 4 kB / 1.001 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 5.087e-05/0.002665, allocations: 4 kB / 1.001 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.002698, allocations: 11.98 kB / 1.001 GB, free: 5.59 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 6.508e-05/0.002763, allocations: 11.98 kB / 1.001 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.002765, allocations: 0 / 1.001 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002765, allocations: 0 / 1.001 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.002769, allocations: 0 / 1.001 GB, free: 5.578 MB / 0.9044 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.0004721/0.003241, allocations: 254.3 kB / 1.001 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.003289, allocations: 8.031 kB / 1.001 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.003323, allocations: 4.938 kB / 1.001 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.003536, allocations: 121.7 kB / 1.001 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.003548, allocations: 4.312 kB / 1.001 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.003566, allocations: 4.375 kB / 1.001 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.236e-05/0.003648, allocations: 34.2 kB / 1.001 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.003656, allocations: 192 / 1.001 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.003668, allocations: 8.359 kB / 1.001 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.003672, allocations: 384 / 1.001 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.699e-05/0.003699, allocations: 11.86 kB / 1.001 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.003863, allocations: 101.3 kB / 1.001 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 5.77e-05/0.00392, allocations: 22.59 kB / 1.001 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.501e-05/0.003945, allocations: 8.922 kB / 1.001 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.003962, allocations: 4 kB / 1.001 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.003999, allocations: 38.5 kB / 1.001 GB, free: 4.852 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.004, allocations: 0 / 1.001 GB, free: 4.852 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001517/0.004151, allocations: 45.69 kB / 1.001 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.004204, allocations: 51.41 kB / 1.001 GB, free: 4.738 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.004332, allocations: 113.8 kB / 1.002 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.00435, allocations: 25.7 kB / 1.002 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/0.004404, allocations: 88.12 kB / 1.002 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.004428, allocations: 7.953 kB / 1.002 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.004468, allocations: 9.719 kB / 1.002 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.004635, allocations: 319 kB / 1.002 GB, free: 4.152 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/0.004654, allocations: 7.984 kB / 1.002 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.939e-05/0.004684, allocations: 21.66 kB / 1.002 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.262e-05/0.004736, allocations: 17.7 kB / 1.002 GB, free: 4.094 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.004743, allocations: 4 kB / 1.002 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.663e-05/0.00483, allocations: 49.62 kB / 1.002 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.004846, allocations: 4 kB / 1.002 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.00485, allocations: 0 / 1.002 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.004864, allocations: 4.125 kB / 1.002 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.525e-05/0.004929, allocations: 4 kB / 1.002 GB, free: 4.023 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.004935, allocations: 0 / 1.002 GB, free: 4.023 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.382e-05/0.004969, allocations: 7.938 kB / 1.002 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.004976, allocations: 0 / 1.002 GB, free: 4.016 MB / 0.9044 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.0001008/0.005077, allocations: 111 kB / 1.002 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.005088, allocations: 3.984 kB / 1.002 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.005208, allocations: 53.09 kB / 1.002 GB, free: 3.836 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.00521, allocations: 3.938 kB / 1.002 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.005215, allocations: 0 / 1.002 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.005221, allocations: 7.969 kB / 1.002 GB, free: 3.824 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.005345, allocations: 105.3 kB / 1.002 GB, free: 3.691 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.005346, allocations: 0 / 1.002 GB, free: 3.691 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.502e-05/0.005401, allocations: 4 kB / 1.002 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.005403, allocations: 0 / 1.002 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.005416, allocations: 4 kB / 1.002 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.005418, allocations: 0 / 1.002 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.005419, allocations: 0 / 1.002 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.005562, allocations: 81 kB / 1.002 GB, free: 3.586 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.005583, allocations: 4.031 kB / 1.002 GB, free: 3.582 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.005598, allocations: 12.28 kB / 1.002 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.416e-05/0.005622, allocations: 0 / 1.002 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.005648, allocations: 15.92 kB / 1.002 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.005652, allocations: 0 / 1.002 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.974e-05/0.005731, allocations: 87.28 kB / 1.003 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of sort global known variables: time 8e-08/0.005731, allocations: 0 / 1.003 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001905/0.005922, allocations: 7.938 kB / 1.003 GB, free: 3.461 MB / 0.9044 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.0001247/0.006047, allocations: 95.23 kB / 1.003 GB, free: 3.355 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.747e-05/0.006134, allocations: 8 kB / 1.003 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.006136, allocations: 4.125 kB / 1.003 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.157e-05/0.006158, allocations: 11.92 kB / 1.003 GB, free: 3.332 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.006325, allocations: 8 kB / 1.003 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.006687, allocations: 108.8 kB / 1.003 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.445e-05/0.006771, allocations: 63.34 kB / 1.003 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.006792, allocations: 0 / 1.003 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.006823, allocations: 12.5 kB / 1.003 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of SimCode: time 3.81e-07/0.006824, allocations: 0 / 1.003 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of Templates: time 0.002979/0.009803, allocations: 337.2 kB / 1.003 GB, free: 2.773 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.116932813078165]