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.001556/0.001556, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002097/0.002097, allocations: 217 kB / 23.01 MB, free: 4.605 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.845/2.845, allocations: 476.7 MB / 0.7714 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002016/0.002016, allocations: 67.92 kB / 1.119 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3321, allocations: 169.9 MB / 1.285 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001835/0.334, allocations: 0.6117 MB / 1.285 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003261/0.3343, allocations: 91.7 kB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.153e-05/0.3343, allocations: 0 / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.368e-05/0.3343, allocations: 0 / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.101e-05/0.3344, allocations: 0 / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.3346, allocations: 19.98 kB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.117e-05/0.3346, allocations: 7.938 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.3347, allocations: 0 / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.115e-05/0.3347, allocations: 8 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.439e-05/0.3348, allocations: 11.91 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.3348, allocations: 4 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.948e-05/0.3349, allocations: 11.98 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.3349, allocations: 4 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.758e-05/0.3349, allocations: 0 / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9e-05/0.335, allocations: 11.98 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.335, allocations: 4 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.303e-06/0.335, allocations: 0 / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.335, allocations: 0 / 1.285 GB, free: 10.41 MB / 0.9825 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.0003652/0.3354, allocations: 250.3 kB / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.3354, allocations: 8.031 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.3355, allocations: 12.92 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.3356, allocations: 106.5 kB / 1.286 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.3357, allocations: 4.312 kB / 1.286 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-06/0.3357, allocations: 4.375 kB / 1.286 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.3358, allocations: 38.25 kB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3358, allocations: 192 / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3358, allocations: 7.875 kB / 1.286 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.3358, allocations: 0 / 1.286 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.852e-05/0.3359, allocations: 15.98 kB / 1.286 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.3361, allocations: 128.8 kB / 1.286 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.3362, allocations: 46.59 kB / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.477e-05/0.3363, allocations: 8.922 kB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.3363, allocations: 0 / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.3363, allocations: 38.56 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3363, allocations: 0 / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002106/0.3365, allocations: 65.5 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.3366, allocations: 55.41 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.274e-05/0.3366, allocations: 89.86 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3367, allocations: 25.7 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.492e-05/0.3367, allocations: 84.12 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.3367, allocations: 7.953 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.3368, allocations: 17.7 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3369, allocations: 310.8 kB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.144e-05/0.3369, allocations: 12 kB / 1.287 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.362e-05/0.337, allocations: 7.984 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.991e-05/0.3371, allocations: 24.78 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3371, allocations: 0 / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001113/0.3372, allocations: 49.97 kB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.3372, allocations: 4 kB / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3372, allocations: 0 / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.3372, allocations: 7.969 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.3376, allocations: 51.92 kB / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.339, allocations: 1.297 MB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.3391, allocations: 3.938 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.3391, allocations: 8.016 kB / 1.288 GB, free: 7.352 MB / 0.9825 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.591e-05/0.3392, allocations: 113.8 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.3392, allocations: 0 / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.43e-05/0.3392, allocations: 3.531 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.3392, allocations: 4 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.51e-07/0.3392, allocations: 0 / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3392, allocations: 4.062 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.3393, allocations: 128.7 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.3393, allocations: 0 / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003804/0.3397, allocations: 43.94 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3397, allocations: 7.922 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.3397, allocations: 0 / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/0.3411, allocations: 1.301 MB / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3411, allocations: 0 / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.3412, allocations: 85.16 kB / 1.29 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-06/0.3412, allocations: 11.95 kB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.3412, allocations: 3.938 kB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.65e-05/0.3412, allocations: 0 / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.3413, allocations: 7.984 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.3413, allocations: 0 / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.787e-05/0.3413, allocations: 75.28 kB / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3413, allocations: 0 / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001972/0.3415, allocations: 4 kB / 1.29 GB, free: 5.383 MB / 0.9825 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.0001368/0.3416, allocations: 103.2 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004678/0.3421, allocations: 59.84 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3421, allocations: 0 / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003999/0.3425, allocations: 59.92 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.3427, allocations: 4.391 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.343, allocations: 126.5 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.3434, allocations: 0.6768 MB / 1.291 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.3434, allocations: 7.438 kB / 1.291 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3434, allocations: 0 / 1.291 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of Templates: time 0.002447/0.3458, allocations: 0.5871 MB / 1.291 GB, free: 3.699 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.486317959002918]