Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 198 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.757/2.757, allocations: 461.8 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 68.14 kB / 0.8984 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3359, allocations: 157.4 MB / 1.052 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001965/0.338, allocations: 0.6736 MB / 1.053 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000307/0.3383, allocations: 95.67 kB / 1.053 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.111e-05/0.3383, allocations: 0 / 1.053 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.3383, allocations: 0 / 1.053 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.785e-05/0.3384, allocations: 0 / 1.053 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.3385, allocations: 15.97 kB / 1.053 GB, free: 8.027 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.359e-05/0.3386, allocations: 8 kB / 1.053 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.3386, allocations: 0 / 1.053 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.989e-05/0.3387, allocations: 7.938 kB / 1.053 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.996e-05/0.3387, allocations: 4 kB / 1.053 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.3387, allocations: 0 / 1.053 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.779e-05/0.3388, allocations: 15.98 kB / 1.053 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.3388, allocations: 3.984 kB / 1.053 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.3389, allocations: 4 kB / 1.053 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.082e-05/0.3389, allocations: 19.91 kB / 1.053 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.339, allocations: 0 / 1.053 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.132e-06/0.339, allocations: 0 / 1.053 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.339, allocations: 0 / 1.053 GB, free: 7.965 MB / 0.8106 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.0004327/0.3394, allocations: 327.5 kB / 1.053 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3394, allocations: 8.031 kB / 1.053 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.3396, allocations: 12.86 kB / 1.053 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.986e-05/0.3397, allocations: 164.4 kB / 1.053 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3397, allocations: 4.375 kB / 1.053 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.3397, allocations: 384 / 1.053 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.3399, allocations: 34.25 kB / 1.053 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.3399, allocations: 192 / 1.053 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.3399, allocations: 7.875 kB / 1.053 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.3399, allocations: 8 kB / 1.053 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.056e-05/0.34, allocations: 11.98 kB / 1.053 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002409/0.3402, allocations: 153.7 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.3404, allocations: 50.53 kB / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.663e-05/0.3405, allocations: 12.92 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.3405, allocations: 4 kB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/0.3406, allocations: 30.56 kB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3406, allocations: 0 / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002178/0.3408, allocations: 61.55 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.3409, allocations: 51.41 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.544e-05/0.3409, allocations: 89.86 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.341, allocations: 29.7 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.341, allocations: 84.14 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.341, allocations: 16.06 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.3411, allocations: 17.7 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.3413, allocations: 310.8 kB / 1.054 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.151e-05/0.3413, allocations: 8 kB / 1.054 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-05/0.3414, allocations: 7.984 kB / 1.054 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.38e-05/0.3415, allocations: 20.84 kB / 1.054 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3415, allocations: 4 kB / 1.054 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001127/0.3416, allocations: 53.94 kB / 1.054 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3416, allocations: 8 kB / 1.054 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3416, allocations: 0 / 1.054 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3416, allocations: 3.938 kB / 1.054 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.342, allocations: 43.92 kB / 1.054 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.3433, allocations: 1.306 MB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.838e-05/0.3433, allocations: 7.969 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.3433, allocations: 0 / 1.056 GB, free: 4.691 MB / 0.8106 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.058e-05/0.3434, allocations: 111.4 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.3434, allocations: 7.938 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.527e-05/0.3434, allocations: 11.58 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.3434, allocations: 0 / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.3434, allocations: 0 / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3435, allocations: 0 / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.3436, allocations: 157.5 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3436, allocations: 0 / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003783/0.344, allocations: 51.92 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.344, allocations: 0 / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.344, allocations: 0 / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.3451, allocations: 1.306 MB / 1.057 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3451, allocations: 0 / 1.057 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.3453, allocations: 85.14 kB / 1.057 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.3453, allocations: 85.02 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-06/0.3453, allocations: 0 / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.971e-05/0.3454, allocations: 3.984 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.3454, allocations: 0 / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.3454, allocations: 8 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.122e-05/0.3454, allocations: 75.28 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.864e-06/0.3454, allocations: 3.938 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000198/0.3456, allocations: 11.94 kB / 1.058 GB, free: 2.559 MB / 0.8106 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.000229/0.3459, allocations: 103.2 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004666/0.3464, allocations: 59.91 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3464, allocations: 8 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.3466, allocations: 35.94 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.3468, allocations: 7.938 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.3472, allocations: 95.03 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.3475, allocations: 0.6731 MB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.731e-05/0.3475, allocations: 11.98 kB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.3475, allocations: 7.438 kB / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of SimCode: time 4.5e-07/0.3476, allocations: 0 / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of Templates: time 0.002292/0.3498, allocations: 392.5 kB / 1.059 GB, free: 1.113 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches