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.001547/0.001547, allocations: 108.5 kB / 16.41 MB, free: 6.492 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.001563/0.001563, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.637/2.637, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 68.3 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8811/0.8826, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001932/0.8846, allocations: 0.5891 MB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003909/0.885, allocations: 99.7 kB / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.782e-05/0.885, allocations: 0 / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.8851, allocations: 0 / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.653e-05/0.8851, allocations: 4 kB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.8854, allocations: 15.92 kB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.463e-05/0.8855, allocations: 11.94 kB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.322e-05/0.8856, allocations: 0 / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.166e-05/0.8856, allocations: 11.97 kB / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.8857, allocations: 0 / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.8857, allocations: 0 / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.474e-05/0.8858, allocations: 15.98 kB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.8858, allocations: 0 / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.8858, allocations: 7.938 kB / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.241e-05/0.8859, allocations: 15.98 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8859, allocations: 0 / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8859, allocations: 0 / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.8859, allocations: 0 / 1.209 GB, free: 12.84 MB / 0.9356 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.000373/0.8863, allocations: 323.6 kB / 1.21 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.8864, allocations: 8.031 kB / 1.21 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.8865, allocations: 12.92 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.8867, allocations: 164.4 kB / 1.21 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.8867, allocations: 384 / 1.21 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.8867, allocations: 4.375 kB / 1.21 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.8868, allocations: 42.23 kB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.8868, allocations: 192 / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.8869, allocations: 15.81 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8869, allocations: 0 / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.078e-05/0.887, allocations: 7.984 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.8871, allocations: 153.7 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.8873, allocations: 46.59 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/0.8874, allocations: 12.92 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.8874, allocations: 0 / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.8874, allocations: 38.48 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 4.699e-06/0.8874, allocations: 0 / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002244/0.8877, allocations: 61.56 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.8877, allocations: 55.39 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.171e-05/0.8878, allocations: 93.86 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.8878, allocations: 25.7 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.8878, allocations: 84.14 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.8879, allocations: 11.61 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.8879, allocations: 13.72 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.888, allocations: 314.8 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.329e-05/0.8881, allocations: 11.98 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.108e-05/0.8881, allocations: 4 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.362e-05/0.8882, allocations: 25.06 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8882, allocations: 0 / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001593/0.8884, allocations: 49.67 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.8884, allocations: 11.98 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.8884, allocations: 0 / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.8884, allocations: 3.938 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/0.8889, allocations: 43.94 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.8903, allocations: 1.404 MB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.902e-05/0.8903, allocations: 0 / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.8903, allocations: 0 / 1.212 GB, free: 9.465 MB / 0.9356 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.689e-05/0.8904, allocations: 121.8 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.639e-06/0.8904, allocations: 0 / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.493e-05/0.8904, allocations: 3.5 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.8905, allocations: 0 / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.8905, allocations: 3.984 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.8905, allocations: 4.062 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.8906, allocations: 157.6 kB / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8907, allocations: 0 / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.891, allocations: 47.92 kB / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8911, allocations: 0 / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.8911, allocations: 0 / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.8924, allocations: 1.408 MB / 1.214 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8924, allocations: 0 / 1.214 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.8926, allocations: 93.14 kB / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.8926, allocations: 81.05 kB / 1.214 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-06/0.8926, allocations: 3.938 kB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.848e-05/0.8927, allocations: 0 / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.8927, allocations: 4 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.8927, allocations: 0 / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.306e-05/0.8927, allocations: 75.28 kB / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8928, allocations: 0 / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002015/0.893, allocations: 4 kB / 1.214 GB, free: 7.23 MB / 0.9356 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.0001317/0.8931, allocations: 111.2 kB / 1.214 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004818/0.8936, allocations: 55.86 kB / 1.214 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.8936, allocations: 0 / 1.214 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004659/0.8941, allocations: 63.91 kB / 1.214 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.8942, allocations: 2.188 kB / 1.214 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.8946, allocations: 128.9 kB / 1.214 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.895, allocations: 0.6729 MB / 1.215 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.132e-05/0.895, allocations: 7.438 kB / 1.215 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of SimCode: time 7.01e-07/0.895, allocations: 0 / 1.215 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of Templates: time 0.002185/0.8972, allocations: 0.5932 MB / 1.216 GB, free: 5.539 MB / 0.9356 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/jenkins1/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