Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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.001694/0.001694, allocations: 105.1 kB / 17.08 MB, free: 5.953 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.00144/0.001439, allocations: 194.7 kB / 20.03 MB, free: 3.023 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.4/1.4, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 490 MB / 0.7695 GB, free: 3.062 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 59.91 kB / 1.104 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8932/0.8954, allocations: 164 MB / 1.264 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001692/0.8971, allocations: 0.5302 MB / 1.264 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001319/0.8972, allocations: 19.89 kB / 1.264 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.8973, allocations: 0 / 1.264 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.8973, allocations: 0 / 1.264 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.8975, allocations: 9.875 kB / 1.264 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.828e-06/0.8975, allocations: 1.031 kB / 1.264 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.773e-05/0.8975, allocations: 4.031 kB / 1.264 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.8976, allocations: 5.391 kB / 1.264 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.028e-05/0.8977, allocations: 10.2 kB / 1.264 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.959e-05/0.8977, allocations: 2.469 kB / 1.264 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.8977, allocations: 0 / 1.264 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.242e-06/0.8977, allocations: 0 / 1.264 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.8977, allocations: 0.8438 kB / 1.264 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.308e-05/0.8978, allocations: 0.875 kB / 1.264 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 4.877e-05/0.8978, allocations: 9.484 kB / 1.264 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.8978, allocations: 1.328 kB / 1.264 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8978, allocations: 0 / 1.264 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.8978, allocations: 0.8438 kB / 1.264 GB, free: 6.98 MB / 0.9981 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.0002285/0.8981, allocations: 320.8 kB / 1.265 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.8981, allocations: 9.469 kB / 1.265 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.8981, allocations: 1.781 kB / 1.265 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.877e-05/0.8982, allocations: 161.4 kB / 1.265 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.8982, allocations: 9.578 kB / 1.265 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.8983, allocations: 1.219 kB / 1.265 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.531e-05/0.8983, allocations: 42.03 kB / 1.265 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.8984, allocations: 5.031 kB / 1.265 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.8984, allocations: 3.938 kB / 1.265 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.8984, allocations: 0.8125 kB / 1.265 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.182e-05/0.8984, allocations: 7.141 kB / 1.265 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001144/0.8985, allocations: 154.9 kB / 1.265 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.477e-05/0.8986, allocations: 38.12 kB / 1.265 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.017e-05/0.8986, allocations: 20.12 kB / 1.265 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.8986, allocations: 1.562 kB / 1.265 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.8986, allocations: 32.19 kB / 1.265 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.8987, allocations: 0 / 1.265 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001385/0.8988, allocations: 50.09 kB / 1.265 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.8988, allocations: 77.83 kB / 1.265 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.313e-05/0.8989, allocations: 96.95 kB / 1.265 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.341e-06/0.8989, allocations: 25.7 kB / 1.265 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.185e-05/0.8989, allocations: 80.89 kB / 1.266 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.8989, allocations: 12.84 kB / 1.266 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.899, allocations: 13.12 kB / 1.266 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.573e-05/0.899, allocations: 312.5 kB / 1.266 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.145e-05/0.899, allocations: 1.531 kB / 1.266 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.535e-05/0.899, allocations: 18.25 kB / 1.266 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.066e-05/0.8991, allocations: 26.69 kB / 1.266 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8991, allocations: 0 / 1.266 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.581e-05/0.8991, allocations: 41.36 kB / 1.266 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.8992, allocations: 9.438 kB / 1.266 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.8992, allocations: 4.547 kB / 1.266 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.8992, allocations: 0.7812 kB / 1.266 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.277e-05/0.8993, allocations: 12.17 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.8993, allocations: 1.312 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.639e-05/0.8993, allocations: 0.6875 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.8993, allocations: 2.266 kB / 1.266 GB, free: 5.266 MB / 0.9981 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.11e-05/0.8993, allocations: 111.9 kB / 1.266 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-06/0.8994, allocations: 1.406 kB / 1.266 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.8995, allocations: 61.36 kB / 1.266 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.8995, allocations: 1.406 kB / 1.266 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.8995, allocations: 0.9688 kB / 1.266 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.8995, allocations: 0 / 1.266 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.724e-05/0.8996, allocations: 146.7 kB / 1.266 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.8996, allocations: 1.031 kB / 1.266 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/0.8996, allocations: 8.734 kB / 1.266 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8996, allocations: 3.938 kB / 1.266 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.8996, allocations: 9.188 kB / 1.266 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.8996, allocations: 1.172 kB / 1.266 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8996, allocations: 0.8438 kB / 1.266 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.492e-05/0.8997, allocations: 74.05 kB / 1.266 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.8997, allocations: 79.22 kB / 1.266 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.8998, allocations: 6 kB / 1.266 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.501e-05/0.8998, allocations: 0.8125 kB / 1.266 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.8998, allocations: 1.625 kB / 1.266 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.8998, allocations: 1.594 kB / 1.266 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.474e-05/0.8998, allocations: 81.22 kB / 1.267 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8998, allocations: 0 / 1.267 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001985/0.9, allocations: 2.094 kB / 1.267 GB, free: 4.629 MB / 0.9981 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 9.443e-05/0.9001, allocations: 94.94 kB / 1.267 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.776e-05/0.9002, allocations: 15.31 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9002, allocations: 0.5312 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.338e-05/0.9002, allocations: 8.391 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.9004, allocations: 8.109 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001887/0.9006, allocations: 122.4 kB / 1.267 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.677e-05/0.9007, allocations: 0.6726 MB / 1.267 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.884e-05/0.9007, allocations: 13.42 kB / 1.267 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.9007, allocations: 0 / 1.267 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of Templates: time 0.001839/0.9025, allocations: 364.9 kB / 1.268 GB, free: 3.664 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.768215263960883]