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.001379/0.001379, allocations: 105.6 kB / 16.45 MB, free: 6.449 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.001423/0.001423, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.497/1.497, allocations: 230.6 MB / 252.8 MB, free: 9.148 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.237/3.237, allocations: 0.4899 GB / 0.7915 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002658/0.002658, allocations: 76.95 kB / 1.149 GB, free: 26.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3693, allocations: 176.1 MB / 1.321 GB, free: 2.801 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001744/0.3711, allocations: 0.5923 MB / 1.322 GB, free: 2.211 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003023/0.3714, allocations: 95.72 kB / 1.322 GB, free: 2.117 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.392e-05/0.3714, allocations: 0 / 1.322 GB, free: 2.117 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/0.3714, allocations: 0 / 1.322 GB, free: 2.117 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.595e-05/0.3715, allocations: 3.938 kB / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.3717, allocations: 19.98 kB / 1.322 GB, free: 2.094 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.983e-05/0.3718, allocations: 7.984 kB / 1.322 GB, free: 2.086 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.787e-05/0.3718, allocations: 0 / 1.322 GB, free: 2.086 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.359e-05/0.3718, allocations: 11.98 kB / 1.322 GB, free: 2.074 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.034e-05/0.3719, allocations: 0 / 1.322 GB, free: 2.074 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.3719, allocations: 0 / 1.322 GB, free: 2.074 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.644e-05/0.372, allocations: 23.92 kB / 1.322 GB, free: 2.051 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.372, allocations: 0 / 1.322 GB, free: 2.051 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.372, allocations: 7.984 kB / 1.322 GB, free: 2.043 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.042e-05/0.3721, allocations: 7.984 kB / 1.322 GB, free: 2.035 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3721, allocations: 0 / 1.322 GB, free: 2.035 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3721, allocations: 0 / 1.322 GB, free: 2.035 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.3721, allocations: 3.938 kB / 1.322 GB, free: 2.031 MB / 1.014 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.0003867/0.3725, allocations: 323.5 kB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3725, allocations: 11.98 kB / 1.322 GB, free: 1.652 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.3727, allocations: 12.92 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.3728, allocations: 164.3 kB / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.3728, allocations: 4.375 kB / 1.323 GB, free: 1.438 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.3728, allocations: 4.359 kB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.373, allocations: 38.25 kB / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.373, allocations: 192 / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.373, allocations: 3.938 kB / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.373, allocations: 4 kB / 1.323 GB, free: 1.383 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.157e-05/0.3731, allocations: 11.98 kB / 1.323 GB, free: 1.371 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.3733, allocations: 165.6 kB / 1.323 GB, free: 1.16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.3735, allocations: 38.95 kB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.3735, allocations: 20.91 kB / 1.323 GB, free: 1.09 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.3735, allocations: 0 / 1.323 GB, free: 1.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.3736, allocations: 38.5 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.3736, allocations: 0 / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0002312/0.3738, allocations: 69.5 kB / 1.323 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.3738, allocations: 51.41 kB / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.299e-05/0.3739, allocations: 89.86 kB / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.3739, allocations: 25.7 kB / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.3739, allocations: 80.14 kB / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.374, allocations: 7.953 kB / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.374, allocations: 21.7 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3741, allocations: 318.8 kB / 1.323 GB, free: 348 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.052e-05/0.3742, allocations: 4 kB / 1.323 GB, free: 344 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.6e-05/0.3742, allocations: 11.98 kB / 1.323 GB, free: 332 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.221e-05/0.3743, allocations: 20.84 kB / 1.324 GB, free: 308 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3743, allocations: 0 / 1.324 GB, free: 308 kB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001141/0.3744, allocations: 49.62 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.3744, allocations: 8 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3744, allocations: 0 / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3744, allocations: 3.938 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/0.3748, allocations: 43.92 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.3762, allocations: 1.405 MB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/0.3763, allocations: 4.031 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.3763, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 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.342e-05/0.3763, allocations: 116.6 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-06/0.3764, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.823e-05/0.3764, allocations: 19.53 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.3764, allocations: 0 / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.32e-07/0.3764, allocations: 0 / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.3764, allocations: 0 / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.3765, allocations: 157.6 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3765, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/0.3769, allocations: 47.94 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3769, allocations: 3.984 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.3769, allocations: 4 kB / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/0.3781, allocations: 1.4 MB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3781, allocations: 4.125 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.3783, allocations: 73.09 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.3783, allocations: 77.11 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.3783, allocations: 7.938 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.617e-05/0.3784, allocations: 0 / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.071e-05/0.3784, allocations: 11.92 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.3784, allocations: 4 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.21e-05/0.3784, allocations: 79.28 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3784, allocations: 3.938 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001882/0.3786, allocations: 4 kB / 1.327 GB, free: 12.41 MB / 1.029 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.0001335/0.3787, allocations: 95.25 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004845/0.3792, allocations: 63.95 kB / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3792, allocations: 0 / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002501/0.3795, allocations: 43.97 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.3796, allocations: 5.875 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/0.3799, allocations: 104.8 kB / 1.327 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.3802, allocations: 0.6729 MB / 1.328 GB, free: 11.37 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.594e-05/0.3802, allocations: 0 / 1.328 GB, free: 11.37 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.3802, allocations: 15.42 kB / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.3802, allocations: 0 / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of Templates: time 0.00242/0.3827, allocations: 412.6 kB / 1.328 GB, free: 10.95 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.808070361614227]