Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008761/0.0008761, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008339/0.0008339, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8738/0.8738, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.782/1.782, allocations: 377.8 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.075e-05, allocations: 9.234 kB / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.00172/0.001741, allocations: 1.452 MB / 0.9836 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000243/0.001984, allocations: 103.6 kB / 0.9837 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.634e-05/0.00202, allocations: 0 / 0.9837 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.00205, allocations: 3.938 kB / 0.9837 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.986e-05/0.00209, allocations: 3.938 kB / 0.9837 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.00229, allocations: 15.92 kB / 0.9837 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.503e-05/0.002356, allocations: 27.92 kB / 0.9838 GB, free: 492 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.288e-05/0.002438, allocations: 0 / 0.9838 GB, free: 492 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.814e-05/0.002487, allocations: 15.98 kB / 0.9838 GB, free: 476 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.482e-05/0.002521, allocations: 15.91 kB / 0.9838 GB, free: 460 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.002537, allocations: 11.94 kB / 0.9838 GB, free: 448 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.14e-05/0.002589, allocations: 11.98 kB / 0.9838 GB, free: 436 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.002603, allocations: 4 kB / 0.9838 GB, free: 432 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.473e-05/0.002618, allocations: 4 kB / 0.9838 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.002722, allocations: 35.89 kB / 0.9839 GB, free: 392 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.002724, allocations: 0 / 0.9839 GB, free: 392 kB / 0.9323 GB Notification: Performance of FrontEnd: time 9.72e-07/0.002725, allocations: 7.938 kB / 0.9839 GB, free: 384 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.002729, allocations: 0 / 0.9839 GB, free: 384 kB / 0.9323 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.0003289/0.003057, allocations: 266.2 kB / 0.9841 GB, free: 84 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.003093, allocations: 12.03 kB / 0.9841 GB, free: 72 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.003202, allocations: 16.92 kB / 0.9841 GB, free: 56 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.509e-05/0.003297, allocations: 109.7 kB / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.003319, allocations: 4.375 kB / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.003327, allocations: 384 / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.003451, allocations: 58.23 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.003459, allocations: 4.172 kB / 0.9843 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.003468, allocations: 384 / 0.9843 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.003472, allocations: 384 / 0.9843 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.003585, allocations: 63.81 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002636/0.003849, allocations: 204.6 kB / 0.9846 GB, free: 15.56 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.935e-05/0.003948, allocations: 50.55 kB / 0.9846 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.598e-05/0.004004, allocations: 32.89 kB / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.004016, allocations: 0 / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.004036, allocations: 34.56 kB / 0.9847 GB, free: 15.42 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 6.22e-07/0.004036, allocations: 4 kB / 0.9847 GB, free: 15.42 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002474/0.004284, allocations: 109.5 kB / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.004313, allocations: 51.41 kB / 0.9848 GB, free: 15.24 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.565e-05/0.004369, allocations: 105.8 kB / 0.9849 GB, free: 15.13 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.004379, allocations: 25.7 kB / 0.985 GB, free: 15.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.211e-05/0.004411, allocations: 84.14 kB / 0.985 GB, free: 15.01 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.004429, allocations: 12.08 kB / 0.9851 GB, free: 15 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.004454, allocations: 17.7 kB / 0.9851 GB, free: 14.98 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.004525, allocations: 310.8 kB / 0.9854 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.191e-05/0.004577, allocations: 19.98 kB / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.78e-05/0.004625, allocations: 27.97 kB / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.984e-05/0.004725, allocations: 60.75 kB / 0.9855 GB, free: 14.55 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.004727, allocations: 0 / 0.9855 GB, free: 14.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001229/0.004849, allocations: 81.64 kB / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.004859, allocations: 4 kB / 0.9856 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.004864, allocations: 3.938 kB / 0.9856 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.004874, allocations: 0 / 0.9856 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.257e-05/0.004937, allocations: 11.98 kB / 0.9856 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.004941, allocations: 0 / 0.9856 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.066e-05/0.004972, allocations: 19.97 kB / 0.9856 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.004976, allocations: 0 / 0.9856 GB, free: 14.43 MB / 0.948 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 4.863e-05/0.005025, allocations: 105.8 kB / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.005037, allocations: 4 kB / 0.9857 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.00506, allocations: 11.56 kB / 0.9857 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.005061, allocations: 3.938 kB / 0.9857 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.005065, allocations: 256 / 0.9857 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.005067, allocations: 0 / 0.9857 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.937e-05/0.005157, allocations: 113.3 kB / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.005157, allocations: 7.938 kB / 0.9858 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.005187, allocations: 11.98 kB / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-06/0.005189, allocations: 0 / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.005195, allocations: 0 / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.005196, allocations: 3.938 kB / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005197, allocations: 0 / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.005342, allocations: 171.5 kB / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.005348, allocations: 7.953 kB / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-06/0.005357, allocations: 4.031 kB / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.41e-05/0.005401, allocations: 11.92 kB / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.005433, allocations: 8 kB / 0.986 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.005436, allocations: 3.984 kB / 0.986 GB, free: 13.92 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.539e-05/0.005462, allocations: 79.28 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005462, allocations: 0 / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001437/0.005606, allocations: 4 kB / 0.9861 GB, free: 13.84 MB / 0.948 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 7.229e-05/0.005678, allocations: 103.7 kB / 0.9862 GB, free: 13.72 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001429/0.005821, allocations: 51.94 kB / 0.9863 GB, free: 13.67 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.005822, allocations: 0 / 0.9863 GB, free: 13.67 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.16e-05/0.005874, allocations: 23.98 kB / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.006049, allocations: 7.938 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.006303, allocations: 150.7 kB / 0.9864 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.22e-05/0.006345, allocations: 67.34 kB / 0.9865 GB, free: 13.38 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.006374, allocations: 12.44 kB / 0.9865 GB, free: 13.36 MB / 0.948 GB Notification: Performance of SimCode: time 4.51e-07/0.006374, allocations: 0 / 0.9865 GB, free: 13.36 MB / 0.948 GB Notification: Performance of Templates: time 0.001294/0.007668, allocations: 0.6484 MB / 0.9872 GB, free: 12.71 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.57404896710068]