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.001897/0.001897, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002081/0.002081, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.575/1.575, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.555/3.555, allocations: 429.5 MB / 0.6729 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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 2.174e-06/2.174e-06, allocations: 0 / 0.8774 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.64e-05/3.857e-05, allocations: 3.219 kB / 0.8774 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.002721/0.002759, allocations: 0.5493 MB / 0.878 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002709/0.00303, allocations: 41.86 kB / 0.878 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.716e-05/0.003087, allocations: 0 / 0.878 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.432e-05/0.003152, allocations: 3.984 kB / 0.878 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.003326, allocations: 9.141 kB / 0.878 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.849e-05/0.003414, allocations: 11.89 kB / 0.878 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.944e-05/0.003503, allocations: 6.078 kB / 0.878 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.66e-05/0.00355, allocations: 4.641 kB / 0.878 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.27e-05/0.003633, allocations: 9.203 kB / 0.8781 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.02e-05/0.003723, allocations: 9.297 kB / 0.8781 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.003749, allocations: 4 kB / 0.8781 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.00376, allocations: 0 / 0.8781 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.022e-05/0.00382, allocations: 448 / 0.8781 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.00386, allocations: 7.938 kB / 0.8781 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.435e-05/0.003955, allocations: 11.97 kB / 0.8781 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.003958, allocations: 0.9375 kB / 0.8781 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003959, allocations: 0 / 0.8781 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.003964, allocations: 0 / 0.8781 GB, free: 6.012 MB / 0.8386 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.0007029/0.004667, allocations: 361.3 kB / 0.8784 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.00472, allocations: 12.03 kB / 0.8784 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.004771, allocations: 2.031 kB / 0.8784 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.005029, allocations: 120.5 kB / 0.8786 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.005042, allocations: 4.312 kB / 0.8786 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.005063, allocations: 5.438 kB / 0.8786 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.005177, allocations: 30.25 kB / 0.8786 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.005187, allocations: 1.25 kB / 0.8786 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.005196, allocations: 384 / 0.8786 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.005206, allocations: 4.375 kB / 0.8786 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.141e-05/0.005237, allocations: 4.594 kB / 0.8786 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000249/0.005486, allocations: 112.7 kB / 0.8787 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.318e-05/0.005579, allocations: 31.58 kB / 0.8787 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.455e-05/0.005614, allocations: 13.12 kB / 0.8788 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.005635, allocations: 3.984 kB / 0.8788 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.471e-05/0.005689, allocations: 33.39 kB / 0.8788 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/0.005691, allocations: 0 / 0.8788 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0002169/0.005908, allocations: 38.48 kB / 0.8788 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.005972, allocations: 55.91 kB / 0.8789 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.00619, allocations: 171 kB / 0.879 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.006222, allocations: 25.7 kB / 0.8791 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.006343, allocations: 130.9 kB / 0.8792 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.006375, allocations: 16.53 kB / 0.8792 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.366e-05/0.006439, allocations: 15.38 kB / 0.8792 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003898/0.006829, allocations: 496.7 kB / 0.8797 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.218e-05/0.006861, allocations: 4.25 kB / 0.8797 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.782e-05/0.006909, allocations: 20.53 kB / 0.8797 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.721e-05/0.006986, allocations: 30.83 kB / 0.8798 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.006988, allocations: 0 / 0.8798 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001504/0.007138, allocations: 45.64 kB / 0.8798 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.007158, allocations: 4 kB / 0.8798 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.007164, allocations: 0 / 0.8798 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.00718, allocations: 0 / 0.8798 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.369e-05/0.007273, allocations: 7.984 kB / 0.8798 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.00728, allocations: 0 / 0.8798 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.356e-05/0.007324, allocations: 8.812 kB / 0.8798 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.007331, allocations: 0 / 0.8798 GB, free: 4.035 MB / 0.8386 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.0001599/0.007491, allocations: 153.2 kB / 0.88 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.007514, allocations: 9.266 kB / 0.88 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.007676, allocations: 49.09 kB / 0.88 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.00768, allocations: 0 / 0.88 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.007684, allocations: 1.344 kB / 0.88 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.007691, allocations: 3.938 kB / 0.88 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.007894, allocations: 116.6 kB / 0.8801 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.007896, allocations: 0 / 0.8801 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.615e-05/0.007982, allocations: 4.281 kB / 0.8801 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.007986, allocations: 4 kB / 0.8801 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.007996, allocations: 0 / 0.8801 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.007998, allocations: 4 kB / 0.8801 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.008, allocations: 0 / 0.8801 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.008221, allocations: 85.06 kB / 0.8802 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.008257, allocations: 7.953 kB / 0.8802 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.008283, allocations: 7.984 kB / 0.8802 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.395e-05/0.008317, allocations: 0 / 0.8802 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.00834, allocations: 3.938 kB / 0.8802 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.008349, allocations: 4 kB / 0.8803 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001207/0.00847, allocations: 127.2 kB / 0.8804 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/0.00847, allocations: 0 / 0.8804 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003664/0.008837, allocations: 7.938 kB / 0.8804 GB, free: 3.391 MB / 0.8386 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.000181/0.009018, allocations: 99.23 kB / 0.8805 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.009154, allocations: 19.62 kB / 0.8805 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.009157, allocations: 0 / 0.8805 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.482e-05/0.009202, allocations: 11.69 kB / 0.8805 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.009437, allocations: 2.688 kB / 0.8805 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.009871, allocations: 118.4 kB / 0.8806 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.009971, allocations: 67.2 kB / 0.8807 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.112e-05/0.009992, allocations: 0 / 0.8807 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.01003, allocations: 12.5 kB / 0.8807 GB, free: 3 MB / 0.8386 GB Notification: Performance of SimCode: time 6.31e-07/0.01003, allocations: 0 / 0.8807 GB, free: 3 MB / 0.8386 GB Notification: Performance of Templates: time 0.004574/0.01461, allocations: 357.4 kB / 0.881 GB, free: 2.656 MB / 0.8386 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] 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.619084671023302]