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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.007779/0.007779, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.002087/0.002088, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.354/1.354, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.78/2.78, allocations: 461.8 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 64.92 kB / 0.8991 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3617, allocations: 157.4 MB / 1.053 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002317/0.3641, allocations: 0.6503 MB / 1.053 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003954/0.3645, allocations: 91.78 kB / 1.053 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.258e-05/0.3646, allocations: 0 / 1.053 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.3646, allocations: 0 / 1.053 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.926e-05/0.3647, allocations: 0 / 1.053 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.3649, allocations: 19.92 kB / 1.054 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.773e-05/0.3649, allocations: 4 kB / 1.054 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.499e-05/0.365, allocations: 7.984 kB / 1.054 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.956e-05/0.365, allocations: 7.984 kB / 1.054 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.807e-05/0.3651, allocations: 7.875 kB / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.3652, allocations: 0 / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.599e-05/0.3652, allocations: 15.98 kB / 1.054 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.3653, allocations: 0 / 1.054 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.3653, allocations: 8 kB / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.048e-05/0.3654, allocations: 7.984 kB / 1.054 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3654, allocations: 0 / 1.054 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3654, allocations: 0 / 1.054 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.3654, allocations: 0 / 1.054 GB, free: 7.379 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.0003925/0.3658, allocations: 331.5 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3659, allocations: 12.03 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.366, allocations: 8.922 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.991e-05/0.3661, allocations: 160.4 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.3662, allocations: 384 / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.3662, allocations: 384 / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.3663, allocations: 46.19 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3663, allocations: 4.125 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3664, allocations: 7.938 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3664, allocations: 0 / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.681e-05/0.3665, allocations: 11.98 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.3667, allocations: 153.7 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.3669, allocations: 38.59 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.912e-05/0.3669, allocations: 16.92 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.3669, allocations: 4 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.367, allocations: 34.5 kB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.875e-06/0.367, allocations: 3.984 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002448/0.3672, allocations: 57.61 kB / 1.054 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.3673, allocations: 51.41 kB / 1.054 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.396e-05/0.3673, allocations: 89.86 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.3674, allocations: 29.7 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.3674, allocations: 84.14 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.3674, allocations: 20.09 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.3675, allocations: 9.719 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3676, allocations: 314.8 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.904e-05/0.3677, allocations: 11.98 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.575e-05/0.3677, allocations: 7.938 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.681e-05/0.3678, allocations: 28.84 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3678, allocations: 0 / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001135/0.3679, allocations: 45.69 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.368, allocations: 4 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.368, allocations: 0 / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.368, allocations: 3.938 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.3684, allocations: 51.86 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.3698, allocations: 1.306 MB / 1.056 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.132e-05/0.3698, allocations: 4 kB / 1.056 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3698, allocations: 4.031 kB / 1.056 GB, free: 4.102 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 7.934e-05/0.3699, allocations: 105.9 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.3699, allocations: 11.92 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.751e-05/0.37, allocations: 7.5 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.37, allocations: 4 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.37, allocations: 0 / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.37, allocations: 0 / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.3701, allocations: 157.5 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3701, allocations: 4 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/0.3705, allocations: 47.88 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3705, allocations: 4.328 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.3705, allocations: 0 / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/0.3718, allocations: 1.31 MB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.3718, allocations: 4.031 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.3719, allocations: 77.16 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.372, allocations: 85 kB / 1.058 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.735e-06/0.372, allocations: 0 / 1.058 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.952e-05/0.372, allocations: 4 kB / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.372, allocations: 0 / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.3721, allocations: 4 kB / 1.058 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.948e-05/0.3721, allocations: 75.28 kB / 1.058 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3721, allocations: 4 kB / 1.058 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000209/0.3723, allocations: 4 kB / 1.058 GB, free: 1.977 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.0001667/0.3725, allocations: 107.2 kB / 1.058 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004958/0.373, allocations: 63.86 kB / 1.058 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.373, allocations: 0 / 1.058 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004022/0.3734, allocations: 51.92 kB / 1.058 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.3736, allocations: 1.406 kB / 1.058 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.374, allocations: 125 kB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.3743, allocations: 0.677 MB / 1.059 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.3743, allocations: 7.438 kB / 1.059 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of SimCode: time 3.71e-07/0.3743, allocations: 0 / 1.059 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of Templates: time 0.002304/0.3766, allocations: 0.5975 MB / 1.06 GB, free: 288 kB / 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/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