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.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.001473/0.001473, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.00157/0.00157, allocations: 189.4 kB / 22.22 MB, free: 5.102 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.293/1.293, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.813/2.813, allocations: 0.4893 GB / 0.7884 GB, free: 33.16 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.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 0.001854/0.001854, allocations: 69.3 kB / 1.145 GB, free: 30.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2822, allocations: 174.9 MB / 1.316 GB, free: 9.715 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001789/0.284, allocations: 0.525 MB / 1.317 GB, free: 9.191 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001863/0.2842, allocations: 48.14 kB / 1.317 GB, free: 9.145 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.2843, allocations: 0 / 1.317 GB, free: 9.145 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.2843, allocations: 0 / 1.317 GB, free: 9.145 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.2844, allocations: 4 kB / 1.317 GB, free: 9.141 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.72e-05/0.2845, allocations: 15.92 kB / 1.317 GB, free: 9.125 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.967e-05/0.2845, allocations: 4 kB / 1.317 GB, free: 9.121 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.2846, allocations: 4 kB / 1.317 GB, free: 9.117 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.309e-05/0.2846, allocations: 11.97 kB / 1.317 GB, free: 9.105 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.288e-05/0.2847, allocations: 11.94 kB / 1.317 GB, free: 9.094 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.2847, allocations: 0 / 1.317 GB, free: 9.094 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.814e-06/0.2847, allocations: 7.938 kB / 1.317 GB, free: 9.086 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.2848, allocations: 7.984 kB / 1.317 GB, free: 9.078 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.2848, allocations: 3.938 kB / 1.317 GB, free: 9.074 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 7.089e-05/0.2848, allocations: 11.92 kB / 1.317 GB, free: 9.062 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2849, allocations: 0 / 1.317 GB, free: 9.062 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2849, allocations: 0 / 1.317 GB, free: 9.062 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2849, allocations: 3.938 kB / 1.317 GB, free: 9.059 MB / 1.014 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.0004068/0.2853, allocations: 254.4 kB / 1.317 GB, free: 8.777 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.2853, allocations: 8.031 kB / 1.317 GB, free: 8.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.2853, allocations: 8.938 kB / 1.317 GB, free: 8.762 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.2855, allocations: 126.5 kB / 1.317 GB, free: 8.613 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.2855, allocations: 4.375 kB / 1.317 GB, free: 8.609 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.2855, allocations: 4.359 kB / 1.317 GB, free: 8.605 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.215e-05/0.2856, allocations: 34.2 kB / 1.317 GB, free: 8.566 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2856, allocations: 192 / 1.317 GB, free: 8.566 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.2856, allocations: 7.922 kB / 1.317 GB, free: 8.559 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.2856, allocations: 0 / 1.317 GB, free: 8.559 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.2857, allocations: 7.938 kB / 1.317 GB, free: 8.551 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/0.2858, allocations: 132.8 kB / 1.317 GB, free: 8.379 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.144e-05/0.2858, allocations: 14.58 kB / 1.317 GB, free: 8.355 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.031e-05/0.2859, allocations: 8.922 kB / 1.317 GB, free: 8.344 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.2859, allocations: 0 / 1.317 GB, free: 8.344 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.2859, allocations: 38.55 kB / 1.317 GB, free: 8.297 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.2859, allocations: 0 / 1.317 GB, free: 8.297 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001355/0.286, allocations: 49.66 kB / 1.317 GB, free: 8.242 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.2861, allocations: 55.44 kB / 1.317 GB, free: 8.176 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.771e-05/0.2862, allocations: 109.8 kB / 1.317 GB, free: 8.059 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.2862, allocations: 25.7 kB / 1.318 GB, free: 8.027 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.2863, allocations: 84.14 kB / 1.318 GB, free: 7.941 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.2863, allocations: 3.953 kB / 1.318 GB, free: 7.938 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.2863, allocations: 13.72 kB / 1.318 GB, free: 7.918 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.2864, allocations: 318.8 kB / 1.318 GB, free: 7.598 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.2865, allocations: 8 kB / 1.318 GB, free: 7.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.435e-05/0.2865, allocations: 13.72 kB / 1.318 GB, free: 7.57 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.373e-05/0.2865, allocations: 25.64 kB / 1.318 GB, free: 7.539 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2865, allocations: 0 / 1.318 GB, free: 7.539 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.447e-05/0.2866, allocations: 45.69 kB / 1.318 GB, free: 7.488 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2866, allocations: 5.406 kB / 1.318 GB, free: 7.484 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.2866, allocations: 12.06 kB / 1.318 GB, free: 7.473 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2867, allocations: 0 / 1.318 GB, free: 7.473 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.2867, allocations: 7.938 kB / 1.318 GB, free: 7.465 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.2867, allocations: 3.984 kB / 1.318 GB, free: 7.461 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.321e-05/0.2867, allocations: 3.938 kB / 1.318 GB, free: 7.457 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.2868, allocations: 0 / 1.318 GB, free: 7.457 MB / 1.014 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 7.731e-05/0.2868, allocations: 109.8 kB / 1.318 GB, free: 7.34 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.2868, allocations: 0 / 1.318 GB, free: 7.34 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.2869, allocations: 57.09 kB / 1.318 GB, free: 7.27 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.2869, allocations: 3.984 kB / 1.318 GB, free: 7.266 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2869, allocations: 0 / 1.318 GB, free: 7.266 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.287, allocations: 0 / 1.318 GB, free: 7.266 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.2871, allocations: 128.8 kB / 1.318 GB, free: 7.098 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2871, allocations: 0 / 1.318 GB, free: 7.098 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.595e-05/0.2871, allocations: 4 kB / 1.318 GB, free: 7.094 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2871, allocations: 3.938 kB / 1.318 GB, free: 7.09 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.2871, allocations: 3.938 kB / 1.318 GB, free: 7.086 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2871, allocations: 3.938 kB / 1.318 GB, free: 7.082 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.2871, allocations: 3.984 kB / 1.318 GB, free: 7.078 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.2873, allocations: 89.38 kB / 1.318 GB, free: 6.973 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.2873, allocations: 0 / 1.318 GB, free: 6.973 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.2873, allocations: 7.938 kB / 1.318 GB, free: 6.965 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.331e-05/0.2873, allocations: 4 kB / 1.318 GB, free: 6.961 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.2873, allocations: 3.984 kB / 1.318 GB, free: 6.957 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.2873, allocations: 0 / 1.318 GB, free: 6.957 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.401e-05/0.2874, allocations: 87.28 kB / 1.319 GB, free: 6.871 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.2874, allocations: 4.094 kB / 1.319 GB, free: 6.867 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001938/0.2876, allocations: 4 kB / 1.319 GB, free: 6.863 MB / 1.014 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.0001019/0.2877, allocations: 99.27 kB / 1.319 GB, free: 6.762 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.317e-05/0.2878, allocations: 15.94 kB / 1.319 GB, free: 6.746 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2878, allocations: 0 / 1.319 GB, free: 6.746 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.77e-05/0.2878, allocations: 7.984 kB / 1.319 GB, free: 6.738 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.2879, allocations: 4 kB / 1.319 GB, free: 6.734 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.2882, allocations: 129.6 kB / 1.319 GB, free: 6.582 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.2885, allocations: 0.6807 MB / 1.319 GB, free: 5.875 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.647e-05/0.2885, allocations: 0 / 1.319 GB, free: 5.875 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.2886, allocations: 11.44 kB / 1.319 GB, free: 5.863 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.2886, allocations: 0 / 1.319 GB, free: 5.863 MB / 1.014 GB Notification: Performance of Templates: time 0.002322/0.2909, allocations: 329 kB / 1.32 GB, free: 5.543 MB / 1.014 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: 7.58940209262073]