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) 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.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_11_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.005309/0.005309, allocations: 99.55 kB / 15.73 MB, free: 6 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.001141/0.001141, allocations: 193 kB / 16.67 MB, free: 5.922 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.133 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.861/2.861, allocations: 469.8 MB / 0.7425 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 64.36 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3406, allocations: 159.1 MB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001556/0.3422, allocations: 0.5974 MB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002837/0.3425, allocations: 103.7 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.577e-05/0.3425, allocations: 0 / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.161e-05/0.3425, allocations: 0 / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.633e-05/0.3425, allocations: 3.984 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.3427, allocations: 15.92 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.625e-05/0.3428, allocations: 8 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.3428, allocations: 0 / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.92e-05/0.3429, allocations: 4 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.93e-05/0.3429, allocations: 3.984 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.343, allocations: 4 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.005e-05/0.343, allocations: 15.98 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.343, allocations: 7.922 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.3431, allocations: 4 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.384e-05/0.3432, allocations: 15.98 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3432, allocations: 0 / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3432, allocations: 0 / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3432, allocations: 0 / 1.221 GB, free: 12.96 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.0003594/0.3435, allocations: 325.7 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.3436, allocations: 8.031 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.3437, allocations: 16.92 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.3438, allocations: 166.2 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.3439, allocations: 384 / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.3439, allocations: 384 / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.344, allocations: 38.19 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.344, allocations: 4.125 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.344, allocations: 11.88 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.344, allocations: 0 / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.514e-05/0.3441, allocations: 15.98 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.3443, allocations: 153.7 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.3444, allocations: 42.66 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.565e-05/0.3445, allocations: 16.8 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.3445, allocations: 0 / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.3445, allocations: 38.56 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3445, allocations: 0 / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002046/0.3447, allocations: 57.61 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.3448, allocations: 51.41 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.185e-05/0.3448, allocations: 89.86 kB / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.3448, allocations: 25.7 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.185e-05/0.3448, allocations: 80.14 kB / 1.222 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.3449, allocations: 15.94 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.3449, allocations: 13.72 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.376e-05/0.345, allocations: 314.8 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.242e-05/0.345, allocations: 15.92 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.911e-05/0.345, allocations: 4 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.65e-05/0.3451, allocations: 21.12 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3451, allocations: 0 / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001068/0.3452, allocations: 57.62 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.3452, allocations: 4 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3452, allocations: 0 / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3453, allocations: 7.938 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.3456, allocations: 43.92 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.3469, allocations: 1.4 MB / 1.224 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/0.3469, allocations: 7.969 kB / 1.224 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.3469, allocations: 0 / 1.224 GB, free: 9.59 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 7.553e-05/0.347, allocations: 113.8 kB / 1.224 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-06/0.347, allocations: 8.094 kB / 1.224 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.441e-05/0.347, allocations: 3.5 kB / 1.224 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.347, allocations: 0 / 1.224 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.347, allocations: 0 / 1.224 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.347, allocations: 3.938 kB / 1.224 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.3471, allocations: 165.5 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3471, allocations: 0 / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003565/0.3475, allocations: 51.92 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3475, allocations: 0 / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.3475, allocations: 0 / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.3486, allocations: 1.412 MB / 1.226 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3486, allocations: 4.062 kB / 1.226 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.3487, allocations: 73.12 kB / 1.226 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.3487, allocations: 85.11 kB / 1.226 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-06/0.3487, allocations: 7.922 kB / 1.226 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.735e-05/0.3488, allocations: 0 / 1.226 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.3488, allocations: 0 / 1.226 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.3488, allocations: 8 kB / 1.226 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.34e-05/0.3488, allocations: 75.28 kB / 1.226 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5e-08/0.3488, allocations: 0 / 1.226 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001935/0.349, allocations: 4 kB / 1.226 GB, free: 7.352 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.0001235/0.3491, allocations: 99.23 kB / 1.226 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004562/0.3496, allocations: 67.84 kB / 1.226 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3496, allocations: 4 kB / 1.226 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.3498, allocations: 35.95 kB / 1.226 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.35, allocations: 4 kB / 1.227 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.3503, allocations: 96.81 kB / 1.227 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.3505, allocations: 0.6768 MB / 1.227 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.127e-05/0.3505, allocations: 4 kB / 1.227 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.3506, allocations: 7.438 kB / 1.227 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of SimCode: time 3.9e-07/0.3506, allocations: 0 / 1.227 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of Templates: time 0.002438/0.353, allocations: 414.1 kB / 1.228 GB, free: 5.895 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches