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.002518/0.002518, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002969/0.002969, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.634/1.634, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 3.04/3.04, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] 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.794e-06/1.794e-06, allocations: 0.7656 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.732e-05/3.911e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002838/0.002877, allocations: 1.478 MB / 0.8123 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000285/0.003162, allocations: 87.75 kB / 0.8123 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.003196, allocations: 1.594 kB / 0.8123 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.377e-05/0.00322, allocations: 0 / 0.8123 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.673e-05/0.003277, allocations: 7.875 kB / 0.8123 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.003462, allocations: 19.97 kB / 0.8124 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.432e-05/0.003537, allocations: 21.66 kB / 0.8124 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.471e-05/0.003621, allocations: 11.97 kB / 0.8124 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.895e-05/0.00368, allocations: 8 kB / 0.8124 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.003724, allocations: 15.92 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.003741, allocations: 0.875 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.606e-05/0.003807, allocations: 15.98 kB / 0.8124 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.003824, allocations: 4 kB / 0.8124 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.005e-05/0.003844, allocations: 4.516 kB / 0.8124 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.003988, allocations: 48.53 kB / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.00399, allocations: 0 / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003991, allocations: 0.5312 kB / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.748e-06/0.003995, allocations: 1.312 kB / 0.8125 GB, free: 396 kB / 0.7605 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.0005194/0.004514, allocations: 360.2 kB / 0.8128 GB, free: 16 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.004553, allocations: 15.97 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.004734, allocations: 13.45 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.004855, allocations: 112.6 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.004882, allocations: 5.75 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.004891, allocations: 384 / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.005058, allocations: 50.23 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.005068, allocations: 1.344 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.005079, allocations: 384 / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.005083, allocations: 384 / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.005266, allocations: 41.09 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.005686, allocations: 263.8 kB / 0.8133 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.005852, allocations: 48.17 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.872e-05/0.005941, allocations: 28.55 kB / 0.8134 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.005958, allocations: 0 / 0.8134 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.005993, allocations: 34.23 kB / 0.8134 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.005993, allocations: 0 / 0.8134 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0003455/0.006339, allocations: 90.77 kB / 0.8135 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.006385, allocations: 52.72 kB / 0.8136 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.006519, allocations: 165.9 kB / 0.8137 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.006538, allocations: 25.7 kB / 0.8137 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.006626, allocations: 134.9 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.006645, allocations: 9.562 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.006698, allocations: 23.38 kB / 0.8139 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002646/0.006963, allocations: 492.1 kB / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-05/0.007041, allocations: 15.98 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.601e-05/0.007107, allocations: 22.7 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.007241, allocations: 35.67 kB / 0.8144 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.007242, allocations: 3.938 kB / 0.8144 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001944/0.007437, allocations: 74.06 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.007453, allocations: 4.531 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.007461, allocations: 9.875 kB / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.007475, allocations: 0 / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.837e-05/0.007564, allocations: 4 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.007568, allocations: 0 / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.007616, allocations: 7.984 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.007622, allocations: 0.8438 kB / 0.8145 GB, free: 14.09 MB / 0.7761 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.0001224/0.007745, allocations: 160.6 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.007769, allocations: 0.8438 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.007798, allocations: 7.562 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.007803, allocations: 9.266 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.007806, allocations: 0 / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.007811, allocations: 3.984 kB / 0.8147 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.008014, allocations: 120.9 kB / 0.8148 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.008017, allocations: 6.906 kB / 0.8148 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.474e-05/0.008082, allocations: 7.984 kB / 0.8148 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.008083, allocations: 0 / 0.8148 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.00809, allocations: 0 / 0.8148 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.445e-06/0.008099, allocations: 11.88 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.0081, allocations: 0 / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.00838, allocations: 214.5 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-06/0.00839, allocations: 4 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.008402, allocations: 0 / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.008482, allocations: 11.92 kB / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.008517, allocations: 0 / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.008521, allocations: 0 / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.993e-05/0.008601, allocations: 131.2 kB / 0.8152 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008601, allocations: 0.9375 kB / 0.8152 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002146/0.008816, allocations: 11.94 kB / 0.8152 GB, free: 13.34 MB / 0.7761 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.0001257/0.008942, allocations: 92.38 kB / 0.8153 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.009158, allocations: 52.62 kB / 0.8154 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.009159, allocations: 0 / 0.8154 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.963e-05/0.009249, allocations: 24.81 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.009492, allocations: 13.03 kB / 0.8154 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003664/0.009858, allocations: 139.8 kB / 0.8155 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.71e-05/0.009925, allocations: 63.34 kB / 0.8156 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.123e-05/0.009956, allocations: 0.5 kB / 0.8156 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.009997, allocations: 13.81 kB / 0.8156 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.009998, allocations: 0 / 0.8156 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of Templates: time 0.003411/0.01341, allocations: 0.6534 MB / 0.8162 GB, free: 12.25 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] 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: 8.010533938067965]