Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.663/2.663, allocations: 443.5 MB / 0.7293 GB, free: 14.57 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.89 kB / 1.057 GB, free: 2.047 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3668, allocations: 160.7 MB / 1.214 GB, free: 1.027 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001952/0.3687, allocations: 0.6038 MB / 1.215 GB, free: 428 kB / 0.9513 GB Notification: Performance of NFInst.instExpressions: time 0.0003411/0.3691, allocations: 95.72 kB / 1.215 GB, free: 332 kB / 0.9513 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.383e-05/0.3691, allocations: 4 kB / 1.215 GB, free: 328 kB / 0.9513 GB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.3691, allocations: 0 / 1.215 GB, free: 328 kB / 0.9513 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-05/0.3692, allocations: 0 / 1.215 GB, free: 328 kB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.3694, allocations: 19.91 kB / 1.215 GB, free: 308 kB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 5.76e-05/0.3695, allocations: 4 kB / 1.215 GB, free: 304 kB / 0.9513 GB Notification: Performance of NFFlatten.resolveConnections: time 5.117e-05/0.3696, allocations: 8 kB / 1.215 GB, free: 296 kB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 2.191e-05/0.3696, allocations: 7.922 kB / 1.215 GB, free: 288 kB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 8.516e-05/0.3697, allocations: 4 kB / 1.215 GB, free: 284 kB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.3697, allocations: 0 / 1.215 GB, free: 284 kB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 6.505e-05/0.3697, allocations: 11.98 kB / 1.215 GB, free: 272 kB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.3698, allocations: 4 kB / 1.215 GB, free: 268 kB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 2.552e-05/0.3698, allocations: 4 kB / 1.215 GB, free: 264 kB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.3699, allocations: 15.91 kB / 1.215 GB, free: 248 kB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3699, allocations: 0 / 1.215 GB, free: 248 kB / 0.9513 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3699, allocations: 4 kB / 1.215 GB, free: 244 kB / 0.9513 GB Notification: Performance of Transformations before backend: time 1.377e-05/0.3699, allocations: 4 kB / 1.215 GB, free: 240 kB / 0.9513 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.0004558/0.3704, allocations: 323.5 kB / 1.215 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3704, allocations: 8.031 kB / 1.215 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.3706, allocations: 12.92 kB / 1.215 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.3707, allocations: 160.4 kB / 1.215 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.3707, allocations: 384 / 1.215 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.3707, allocations: 384 / 1.215 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.3709, allocations: 50.17 kB / 1.215 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3709, allocations: 4.188 kB / 1.215 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3709, allocations: 3.938 kB / 1.215 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3709, allocations: 0 / 1.215 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.253e-05/0.371, allocations: 11.98 kB / 1.215 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.3712, allocations: 149.6 kB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.3714, allocations: 42.59 kB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/0.3714, allocations: 16.92 kB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.3714, allocations: 0 / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.3715, allocations: 38.48 kB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3715, allocations: 0 / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002327/0.3717, allocations: 57.56 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.3717, allocations: 51.41 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.528e-05/0.3718, allocations: 101.8 kB / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.3718, allocations: 29.7 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.3719, allocations: 80.14 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.3719, allocations: 3.953 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.3719, allocations: 17.72 kB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3721, allocations: 310.8 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.329e-05/0.3721, allocations: 11.92 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.993e-05/0.3721, allocations: 4 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.692e-05/0.3722, allocations: 29.06 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3722, allocations: 0 / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001172/0.3723, allocations: 49.67 kB / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.3724, allocations: 8 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.3724, allocations: 3.984 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3724, allocations: 3.938 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.3728, allocations: 43.94 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/0.3743, allocations: 1.408 MB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.956e-05/0.3743, allocations: 3.953 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.3743, allocations: 8.094 kB / 1.218 GB, free: 12.86 MB / 0.9669 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 9.184e-05/0.3744, allocations: 113.8 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-06/0.3744, allocations: 0 / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.724e-05/0.3744, allocations: 7.5 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.3745, allocations: 0 / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-06/0.3745, allocations: 0 / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3745, allocations: 3.984 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.3746, allocations: 149.6 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3746, allocations: 0 / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.3749, allocations: 55.86 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3749, allocations: 0 / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.3749, allocations: 0 / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.3763, allocations: 1.404 MB / 1.219 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3763, allocations: 0 / 1.219 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.3764, allocations: 81.12 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.3765, allocations: 81.09 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.3765, allocations: 8.031 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.501e-05/0.3765, allocations: 0 / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.3765, allocations: 4 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.3765, allocations: 0 / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.578e-05/0.3766, allocations: 75.28 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3766, allocations: 0 / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001916/0.3768, allocations: 8 kB / 1.22 GB, free: 10.64 MB / 0.9669 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.0001506/0.3769, allocations: 107.2 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004943/0.3774, allocations: 67.8 kB / 1.22 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/0.3774, allocations: 0 / 1.22 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003964/0.3778, allocations: 55.92 kB / 1.22 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.3779, allocations: 3.984 kB / 1.22 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.3784, allocations: 122.6 kB / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.3787, allocations: 0.669 MB / 1.221 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.3787, allocations: 15.44 kB / 1.221 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.3787, allocations: 0 / 1.221 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of Templates: time 0.002548/0.3813, allocations: 0.5978 MB / 1.221 GB, free: 8.938 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.056504511041567]