Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.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.002533/0.002533, allocations: 93.47 kB / 19.44 MB, free: 332 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.003488/0.003488, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.579/1.579, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.46/3.46, allocations: 429.5 MB / 0.6729 GB, free: 3.992 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.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.8774 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.86e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002799/0.002828, allocations: 1.477 MB / 0.8789 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002853/0.003113, allocations: 89.44 kB / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.708e-05/0.00315, allocations: 0 / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.003176, allocations: 4.484 kB / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.363e-05/0.00323, allocations: 3.312 kB / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.003431, allocations: 19.91 kB / 0.879 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.003533, allocations: 34.09 kB / 0.879 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.769e-05/0.00362, allocations: 0.7812 kB / 0.879 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.842e-05/0.003689, allocations: 15.98 kB / 0.879 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.188e-05/0.003731, allocations: 14.84 kB / 0.8791 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.003748, allocations: 0 / 0.8791 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.466e-05/0.003813, allocations: 11.98 kB / 0.8791 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.003834, allocations: 7.984 kB / 0.8791 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.003853, allocations: 8 kB / 0.8791 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.00398, allocations: 39.81 kB / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003982, allocations: 4 kB / 0.8791 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003982, allocations: 0 / 0.8791 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.003986, allocations: 1.625 kB / 0.8791 GB, free: 4.926 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005164/0.004503, allocations: 360.2 kB / 0.8795 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.004541, allocations: 8.031 kB / 0.8795 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.004724, allocations: 21.5 kB / 0.8795 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.004845, allocations: 108.6 kB / 0.8796 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.004861, allocations: 2.031 kB / 0.8796 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.004871, allocations: 4.375 kB / 0.8796 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.005039, allocations: 58.16 kB / 0.8797 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.005048, allocations: 192 / 0.8797 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.005056, allocations: 0.875 kB / 0.8797 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.00506, allocations: 2.062 kB / 0.8797 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.005214, allocations: 39.91 kB / 0.8797 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.005651, allocations: 259.8 kB / 0.88 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.005807, allocations: 47.89 kB / 0.88 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.831e-05/0.005895, allocations: 28.36 kB / 0.88 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.005915, allocations: 4 kB / 0.88 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.00595, allocations: 34.98 kB / 0.8801 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.005951, allocations: 0 / 0.8801 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003491/0.0063, allocations: 89.56 kB / 0.8802 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.006361, allocations: 59.39 kB / 0.8802 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.006496, allocations: 161.9 kB / 0.8804 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.006515, allocations: 25.7 kB / 0.8804 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.045e-05/0.006606, allocations: 134.9 kB / 0.8805 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.006626, allocations: 7.953 kB / 0.8805 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.00667, allocations: 19.38 kB / 0.8805 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002697/0.00694, allocations: 496.1 kB / 0.881 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.829e-05/0.007018, allocations: 23.86 kB / 0.881 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.191e-05/0.00709, allocations: 24.11 kB / 0.8811 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.007228, allocations: 39.92 kB / 0.8811 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.00723, allocations: 0 / 0.8811 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001956/0.007426, allocations: 65.67 kB / 0.8812 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.00744, allocations: 4 kB / 0.8812 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.007446, allocations: 3.938 kB / 0.8812 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.00746, allocations: 0 / 0.8812 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.251e-05/0.007552, allocations: 16.08 kB / 0.8812 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.007556, allocations: 0 / 0.8812 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.007603, allocations: 7.938 kB / 0.8812 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.007609, allocations: 0 / 0.8812 GB, free: 2.613 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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.0001175/0.007726, allocations: 156.6 kB / 0.8813 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.007758, allocations: 7.953 kB / 0.8813 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.325e-05/0.007791, allocations: 11.55 kB / 0.8814 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.007792, allocations: 0 / 0.8814 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.007796, allocations: 0 / 0.8814 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.007798, allocations: 0 / 0.8814 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.007966, allocations: 124.6 kB / 0.8815 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.007967, allocations: 4 kB / 0.8815 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.145e-05/0.008028, allocations: 8 kB / 0.8815 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.00803, allocations: 0 / 0.8815 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.008037, allocations: 0 / 0.8815 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.008043, allocations: 3.938 kB / 0.8815 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008044, allocations: 0 / 0.8815 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.008346, allocations: 215.9 kB / 0.8817 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-06/0.008352, allocations: 0 / 0.8817 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.008365, allocations: 0 / 0.8817 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.008442, allocations: 15.95 kB / 0.8817 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.008482, allocations: 4 kB / 0.8817 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.008486, allocations: 0 / 0.8817 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.308e-05/0.008569, allocations: 131.2 kB / 0.8818 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.008569, allocations: 0 / 0.8818 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002125/0.008781, allocations: 11.89 kB / 0.8819 GB, free: 1.871 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 0.0001324/0.008914, allocations: 95.25 kB / 0.8819 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.009133, allocations: 47.66 kB / 0.882 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.009134, allocations: 3.938 kB / 0.882 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.984e-05/0.009224, allocations: 31.67 kB / 0.882 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.009454, allocations: 7.875 kB / 0.882 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.009815, allocations: 126.3 kB / 0.8822 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.827e-05/0.009883, allocations: 59.34 kB / 0.8822 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.564e-05/0.009918, allocations: 8.125 kB / 0.8822 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.009954, allocations: 8.5 kB / 0.8822 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/0.009955, allocations: 0 / 0.8822 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of Templates: time 0.003392/0.01335, allocations: 0.6667 MB / 0.8829 GB, free: 0.7617 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.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.664241218008101]