Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.0008092/0.0008092, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001059/0.001868, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007542/0.0007542, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008906/0.001645, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9526/0.9526, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09482/1.047, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.89/1.89, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4867/2.376, allocations: 123.3 MB / 0.728 GB, free: 5.789 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 4.531 kB / 0.7294 GB, free: 4.434 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.249e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001899/0.001922, allocations: 0.6565 MB / 0.73 GB, free: 3.797 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001823/0.002104, allocations: 99.16 kB / 0.7301 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.393e-05/0.002118, allocations: 0 / 0.7301 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.959e-06/0.002123, allocations: 0 / 0.7301 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.317e-05/0.002146, allocations: 0 / 0.7301 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.002273, allocations: 20.58 kB / 0.7301 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.865e-05/0.002332, allocations: 5.203 kB / 0.7301 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.002373, allocations: 2.062 kB / 0.7302 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.108e-05/0.002424, allocations: 13.08 kB / 0.7302 GB, free: 3.668 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.217e-05/0.002516, allocations: 3.984 kB / 0.7302 GB, free: 3.664 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.002534, allocations: 0.5469 kB / 0.7302 GB, free: 3.664 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.002643, allocations: 19.92 kB / 0.7302 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.002656, allocations: 1.156 kB / 0.7302 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.046e-05/0.002677, allocations: 2.062 kB / 0.7302 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.002792, allocations: 17.3 kB / 0.7302 GB, free: 3.629 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.742e-05/0.00281, allocations: 0 / 0.7302 GB, free: 3.629 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.172e-06/0.002811, allocations: 0 / 0.7302 GB, free: 3.629 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.248e-05/0.002833, allocations: 1.719 kB / 0.7302 GB, free: 3.629 MB / 0.698 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.0004775/0.003311, allocations: 221.7 kB / 0.7304 GB, free: 3.387 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.003369, allocations: 8.031 kB / 0.7304 GB, free: 3.379 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003018/0.003671, allocations: 94.83 kB / 0.7305 GB, free: 3.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.775e-05/0.003769, allocations: 105.7 kB / 0.7306 GB, free: 3.141 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.003796, allocations: 384 / 0.7306 GB, free: 3.141 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.003808, allocations: 4.875 kB / 0.7306 GB, free: 3.137 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.003973, allocations: 52.08 kB / 0.7307 GB, free: 3.078 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.003983, allocations: 192 / 0.7307 GB, free: 3.078 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.00399, allocations: 384 / 0.7307 GB, free: 3.078 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.003998, allocations: 1.969 kB / 0.7307 GB, free: 3.078 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.231e-05/0.004041, allocations: 11.92 kB / 0.7307 GB, free: 3.066 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.004182, allocations: 61.56 kB / 0.7307 GB, free: 2.992 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.004352, allocations: 31.48 kB / 0.7308 GB, free: 2.953 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/0.004376, allocations: 8.859 kB / 0.7308 GB, free: 2.941 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.004402, allocations: 4.875 kB / 0.7308 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.004448, allocations: 34.56 kB / 0.7308 GB, free: 2.895 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.004449, allocations: 1.438 kB / 0.7308 GB, free: 2.895 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001852/0.004635, allocations: 38.56 kB / 0.7309 GB, free: 2.852 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.004692, allocations: 55.41 kB / 0.7309 GB, free: 2.785 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.938e-05/0.004741, allocations: 89.86 kB / 0.731 GB, free: 2.688 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.004758, allocations: 26.36 kB / 0.731 GB, free: 2.656 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.004791, allocations: 80.14 kB / 0.7311 GB, free: 2.574 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.004851, allocations: 12.08 kB / 0.7311 GB, free: 2.566 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.004906, allocations: 17.72 kB / 0.7311 GB, free: 2.543 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.005043, allocations: 324.4 kB / 0.7314 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.955e-05/0.005073, allocations: 5.422 kB / 0.7314 GB, free: 2.215 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.257e-05/0.005085, allocations: 4 kB / 0.7314 GB, free: 2.211 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.266e-05/0.005138, allocations: 13.12 kB / 0.7315 GB, free: 2.195 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.005141, allocations: 0.5938 kB / 0.7315 GB, free: 2.195 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.984e-05/0.005241, allocations: 45.69 kB / 0.7315 GB, free: 2.145 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.005271, allocations: 12.14 kB / 0.7315 GB, free: 2.137 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.005281, allocations: 0 / 0.7315 GB, free: 2.137 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.005299, allocations: 0 / 0.7315 GB, free: 2.137 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.005584, allocations: 25.42 kB / 0.7315 GB, free: 2.113 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.007366, allocations: 1.194 MB / 0.7327 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.007397, allocations: 0.5938 kB / 0.7327 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.007403, allocations: 0 / 0.7327 GB, free: 0.832 MB / 0.698 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.00751, allocations: 122.7 kB / 0.7328 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.007523, allocations: 4.875 kB / 0.7328 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.979e-05/0.007543, allocations: 4.062 kB / 0.7328 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.007546, allocations: 0.5938 kB / 0.7328 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.007552, allocations: 7.938 kB / 0.7328 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.007556, allocations: 1.125 kB / 0.7328 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.402e-05/0.00765, allocations: 61.91 kB / 0.7329 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.007654, allocations: 0 / 0.7329 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.007847, allocations: 30.12 kB / 0.7329 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.007853, allocations: 0.7656 kB / 0.7329 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.00786, allocations: 5.016 kB / 0.7329 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.007867, allocations: 0 / 0.7329 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.008906, allocations: 1.207 MB / 0.7341 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.008911, allocations: 3.984 kB / 0.7341 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.009038, allocations: 70.33 kB / 0.7342 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.009051, allocations: 0 / 0.7342 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.482e-05/0.009076, allocations: 4.812 kB / 0.7342 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.009107, allocations: 8.688 kB / 0.7342 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.009113, allocations: 0 / 0.7342 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.507e-05/0.009128, allocations: 5.453 kB / 0.7342 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.009128, allocations: 0 / 0.7342 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001782/0.009306, allocations: 4.75 kB / 0.7342 GB, free: 15.18 MB / 0.7136 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002306/0.009537, allocations: 85.47 kB / 0.7343 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003139/0.00985, allocations: 39.8 kB / 0.7343 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/0.009866, allocations: 5.031 kB / 0.7343 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.01002, allocations: 30 kB / 0.7344 GB, free: 15 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.854e-05/0.01012, allocations: 7.984 kB / 0.7344 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.01047, allocations: 89.75 kB / 0.7345 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.547e-05/0.01052, allocations: 55.34 kB / 0.7345 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.034e-05/0.01055, allocations: 7.625 kB / 0.7345 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/0.0106, allocations: 51.38 kB / 0.7346 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of SimCode: time 1.202e-06/0.0106, allocations: 0 / 0.7346 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.002863/0.01346, allocations: 0.5061 MB / 0.7351 GB, free: 14.27 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized/Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.900063904002309]