Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001997/0.001997, allocations: 80.28 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001774/0.001774, allocations: 164.2 kB / 22.46 MB, free: 5.355 MB / 14.72 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.597/1.597, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.746/2.746, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.951 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.673e-05, allocations: 9.094 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001902/0.001929, allocations: 0.5957 MB / 0.9516 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003305/0.00226, allocations: 83.69 kB / 0.9517 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.317e-05/0.002283, allocations: 0 / 0.9517 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.447e-05/0.002297, allocations: 0 / 0.9517 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.917e-05/0.002356, allocations: 8 kB / 0.9517 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.002621, allocations: 15.92 kB / 0.9517 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.024e-05/0.002681, allocations: 7.984 kB / 0.9517 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.948e-05/0.00273, allocations: 0 / 0.9517 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.972e-05/0.00277, allocations: 4 kB / 0.9517 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.392e-05/0.002864, allocations: 11.98 kB / 0.9517 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.002881, allocations: 0 / 0.9517 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.463e-05/0.002955, allocations: 11.98 kB / 0.9518 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.002973, allocations: 7.922 kB / 0.9518 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.002998, allocations: 0 / 0.9518 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.003106, allocations: 19.98 kB / 0.9518 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003108, allocations: 0 / 0.9518 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003109, allocations: 0 / 0.9518 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.003113, allocations: 0 / 0.9518 GB, free: 10.75 MB / 0.8575 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.0004343/0.003548, allocations: 246.4 kB / 0.952 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.003593, allocations: 8.031 kB / 0.952 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.003793, allocations: 8.922 kB / 0.952 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.929e-05/0.003892, allocations: 105.7 kB / 0.9521 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.003919, allocations: 4.375 kB / 0.9521 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.003928, allocations: 384 / 0.9521 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.004073, allocations: 46.19 kB / 0.9522 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.004082, allocations: 192 / 0.9522 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.004092, allocations: 384 / 0.9522 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.004097, allocations: 4.375 kB / 0.9522 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.004197, allocations: 19.91 kB / 0.9522 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.004359, allocations: 101.3 kB / 0.9523 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.004556, allocations: 46.53 kB / 0.9523 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.004613, allocations: 20.91 kB / 0.9524 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.004634, allocations: 0 / 0.9524 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.004666, allocations: 30.56 kB / 0.9524 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.004667, allocations: 0 / 0.9524 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002467/0.004913, allocations: 53.67 kB / 0.9524 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.004965, allocations: 51.41 kB / 0.9525 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.217e-05/0.005017, allocations: 97.8 kB / 0.9526 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.005041, allocations: 29.7 kB / 0.9526 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.005073, allocations: 84.08 kB / 0.9527 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.005108, allocations: 7.891 kB / 0.9527 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.005151, allocations: 21.7 kB / 0.9527 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.005306, allocations: 318.8 kB / 0.953 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.952e-05/0.005346, allocations: 4 kB / 0.953 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.358e-05/0.005379, allocations: 7.984 kB / 0.953 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.666e-05/0.005466, allocations: 20.84 kB / 0.9531 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.005468, allocations: 0 / 0.9531 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001187/0.005587, allocations: 49.69 kB / 0.9531 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.005602, allocations: 4 kB / 0.9531 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.005607, allocations: 0 / 0.9531 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.005622, allocations: 4 kB / 0.9531 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/0.006031, allocations: 43.88 kB / 0.9532 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.007444, allocations: 1.286 MB / 0.9544 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.007488, allocations: 0 / 0.9544 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.007494, allocations: 0 / 0.9544 GB, free: 7.781 MB / 0.8575 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 8.509e-05/0.007579, allocations: 113.9 kB / 0.9545 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.00759, allocations: 7.938 kB / 0.9545 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.738e-05/0.007608, allocations: 7.531 kB / 0.9545 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.007611, allocations: 3.984 kB / 0.9545 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.217e-06/0.007614, allocations: 4.328 kB / 0.9545 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.007616, allocations: 4 kB / 0.9545 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.227e-05/0.007698, allocations: 97.28 kB / 0.9546 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.007699, allocations: 0 / 0.9546 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.00809, allocations: 55.92 kB / 0.9547 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.008095, allocations: 3.984 kB / 0.9547 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.008107, allocations: 7.938 kB / 0.9547 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.009382, allocations: 1.27 MB / 0.9559 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.009383, allocations: 0 / 0.9559 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.009527, allocations: 81.03 kB / 0.956 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-06/0.009533, allocations: 4 kB / 0.956 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.713e-06/0.00954, allocations: 0 / 0.956 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.62e-05/0.009566, allocations: 4 kB / 0.956 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.009586, allocations: 8.078 kB / 0.956 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.00959, allocations: 3.938 kB / 0.956 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.562e-05/0.009626, allocations: 79.28 kB / 0.9561 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.009626, allocations: 4 kB / 0.9561 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001958/0.009821, allocations: 0 / 0.9561 GB, free: 5.867 MB / 0.8575 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.0001316/0.009953, allocations: 99.19 kB / 0.9562 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004917/0.01044, allocations: 63.91 kB / 0.9563 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01045, allocations: 0 / 0.9563 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.01069, allocations: 43.94 kB / 0.9563 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.01083, allocations: 3.938 kB / 0.9563 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.01118, allocations: 104.8 kB / 0.9564 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.222e-05/0.01123, allocations: 55.36 kB / 0.9565 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.292e-05/0.01127, allocations: 3.938 kB / 0.9565 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.01131, allocations: 16.48 kB / 0.9565 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.01131, allocations: 0 / 0.9565 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of Templates: time 0.003126/0.01443, allocations: 464.2 kB / 0.9569 GB, free: 4.988 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.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: 7.807356797158718]