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.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.001265/0.001265, allocations: 107.7 kB / 18.88 MB, free: 3.051 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.001415/0.001415, allocations: 201.8 kB / 22.17 MB, free: 5.203 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.48/1.48, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.767/2.767, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.002058/0.002058, allocations: 63.91 kB / 1.109 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8942/0.8962, allocations: 168.7 MB / 1.274 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002062/0.8983, allocations: 0.5976 MB / 1.275 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003824/0.8987, allocations: 103.7 kB / 1.275 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.163e-05/0.8987, allocations: 0 / 1.275 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/0.8987, allocations: 0 / 1.275 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.72e-05/0.8988, allocations: 0 / 1.275 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.899, allocations: 19.92 kB / 1.275 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.002e-05/0.8991, allocations: 11.98 kB / 1.275 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.609e-05/0.8991, allocations: 3.938 kB / 1.275 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.232e-05/0.8992, allocations: 4 kB / 1.275 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.437e-05/0.8992, allocations: 3.984 kB / 1.275 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.8992, allocations: 0 / 1.275 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.154e-05/0.8993, allocations: 15.98 kB / 1.275 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.8993, allocations: 3.938 kB / 1.275 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.8994, allocations: 0 / 1.275 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.8995, allocations: 19.97 kB / 1.275 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.8995, allocations: 4 kB / 1.275 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8995, allocations: 0 / 1.275 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.8995, allocations: 0 / 1.275 GB, free: 3.598 MB / 0.9669 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.0004556/0.8999, allocations: 330.1 kB / 1.275 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.9, allocations: 8.031 kB / 1.275 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.9001, allocations: 8.922 kB / 1.275 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.9003, allocations: 164.3 kB / 1.275 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.9003, allocations: 384 / 1.275 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.9003, allocations: 4.375 kB / 1.275 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.9004, allocations: 42.25 kB / 1.275 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.9005, allocations: 4.125 kB / 1.275 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.9005, allocations: 3.938 kB / 1.275 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.9005, allocations: 0 / 1.275 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/0.9006, allocations: 11.98 kB / 1.275 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.9008, allocations: 153.7 kB / 1.276 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.9009, allocations: 46.53 kB / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.966e-05/0.901, allocations: 12.92 kB / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.901, allocations: 4 kB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.901, allocations: 30.56 kB / 1.276 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.901, allocations: 0 / 1.276 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002288/0.9013, allocations: 61.73 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.9013, allocations: 59.34 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.708e-05/0.9014, allocations: 89.86 kB / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.9014, allocations: 25.7 kB / 1.276 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.9014, allocations: 80.14 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.9015, allocations: 15.94 kB / 1.276 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.9015, allocations: 9.719 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.9016, allocations: 314.8 kB / 1.276 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.301e-05/0.9017, allocations: 11.98 kB / 1.276 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.116e-05/0.9017, allocations: 8 kB / 1.276 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.709e-05/0.9018, allocations: 24.84 kB / 1.276 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.9018, allocations: 0 / 1.276 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001284/0.9019, allocations: 49.64 kB / 1.276 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.9019, allocations: 7.938 kB / 1.276 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.9019, allocations: 3.938 kB / 1.276 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.902, allocations: 3.938 kB / 1.276 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.9024, allocations: 47.92 kB / 1.276 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/0.9038, allocations: 1.393 MB / 1.278 GB, free: 248 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.202e-05/0.9039, allocations: 11.98 kB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.9039, allocations: 4.031 kB / 1.278 GB, free: 232 kB / 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.551e-05/0.904, allocations: 115.2 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-06/0.904, allocations: 0 / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.587e-05/0.904, allocations: 3.5 kB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.904, allocations: 4 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.904, allocations: 4 kB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.904, allocations: 0 / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.9042, allocations: 165.5 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.9042, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.9045, allocations: 47.92 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.9045, allocations: 0 / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.9045, allocations: 0 / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/0.9059, allocations: 1.416 MB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.9059, allocations: 0 / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.906, allocations: 73.22 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.9061, allocations: 81.05 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.9061, allocations: 7.922 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.692e-05/0.9061, allocations: 4 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.9061, allocations: 0 / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.9061, allocations: 0 / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.38e-05/0.9062, allocations: 79.22 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.9062, allocations: 0 / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001932/0.9064, allocations: 4 kB / 1.28 GB, free: 14 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.0001434/0.9065, allocations: 107.2 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004919/0.907, allocations: 55.91 kB / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.907, allocations: 0 / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.9072, allocations: 43.95 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.9074, allocations: 1.562 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.9078, allocations: 120.8 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.9081, allocations: 0.6729 MB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.798e-05/0.9081, allocations: 7.984 kB / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.9082, allocations: 11.44 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.9082, allocations: 3.938 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of Templates: time 0.003017/0.9112, allocations: 430.2 kB / 1.281 GB, free: 12.5 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 -s cvode -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_2/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: 8.732730750925839]