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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, 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.00161/0.00161, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.342/1.342, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.637/2.637, allocations: 461.9 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 65.14 kB / 0.8985 GB, free: 36.88 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2877, allocations: 157.4 MB / 1.052 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001972/0.2898, allocations: 0.6658 MB / 1.053 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003512/0.2901, allocations: 91.8 kB / 1.053 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.267e-05/0.2901, allocations: 0 / 1.053 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.2902, allocations: 4 kB / 1.053 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.451e-05/0.2902, allocations: 0 / 1.053 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.2904, allocations: 11.92 kB / 1.053 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.843e-05/0.2905, allocations: 8 kB / 1.053 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.2905, allocations: 4 kB / 1.053 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.495e-05/0.2906, allocations: 7.984 kB / 1.053 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.824e-05/0.2906, allocations: 3.938 kB / 1.053 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.2907, allocations: 0 / 1.053 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.341e-05/0.2907, allocations: 15.98 kB / 1.053 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.2907, allocations: 3.984 kB / 1.053 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.2908, allocations: 0 / 1.053 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.072e-05/0.2909, allocations: 19.92 kB / 1.053 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2909, allocations: 0 / 1.053 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2909, allocations: 0 / 1.053 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2909, allocations: 4 kB / 1.053 GB, free: 7.348 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.0004178/0.2913, allocations: 321.2 kB / 1.053 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.2914, allocations: 11.97 kB / 1.053 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.841e-05/0.2914, allocations: 34.75 kB / 1.053 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.2916, allocations: 8.922 kB / 1.053 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.654e-05/0.2917, allocations: 160.4 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.2917, allocations: 4.375 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.2917, allocations: 384 / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.2919, allocations: 50.19 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.2919, allocations: 3.938 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.2919, allocations: 0 / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.2919, allocations: 4 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.081e-05/0.292, allocations: 7.984 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.2922, allocations: 161.7 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.2924, allocations: 46.59 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.541e-05/0.2924, allocations: 16.86 kB / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.2924, allocations: 0 / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.2925, allocations: 30.56 kB / 1.054 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.2925, allocations: 0 / 1.054 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002037/0.2927, allocations: 57.61 kB / 1.054 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.2927, allocations: 59.34 kB / 1.054 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.386e-05/0.2928, allocations: 89.86 kB / 1.054 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.2928, allocations: 33.7 kB / 1.054 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.796e-05/0.2928, allocations: 80.14 kB / 1.054 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.2928, allocations: 12.11 kB / 1.054 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.2929, allocations: 13.72 kB / 1.054 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.293, allocations: 314.8 kB / 1.054 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.131e-05/0.293, allocations: 7.984 kB / 1.054 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.978e-05/0.2931, allocations: 11.94 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.626e-05/0.2932, allocations: 21.12 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2932, allocations: 0 / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001038/0.2933, allocations: 49.67 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.2933, allocations: 13.34 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2933, allocations: 3.938 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2933, allocations: 0 / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.2937, allocations: 47.92 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.2949, allocations: 1.306 MB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/0.295, allocations: 4.031 kB / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.295, allocations: 0 / 1.056 GB, free: 4.035 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.684e-05/0.2951, allocations: 113.9 kB / 1.056 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.2951, allocations: 11.89 kB / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.626e-05/0.2951, allocations: 7.5 kB / 1.056 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.2951, allocations: 0 / 1.056 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.12e-07/0.2951, allocations: 0 / 1.056 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.2951, allocations: 0 / 1.056 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.2953, allocations: 153.6 kB / 1.056 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2953, allocations: 0 / 1.056 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/0.2956, allocations: 51.88 kB / 1.056 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2957, allocations: 0 / 1.056 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.2957, allocations: 0 / 1.056 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.2967, allocations: 1.31 MB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2967, allocations: 4.156 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.2969, allocations: 80.97 kB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.155e-05/0.2969, allocations: 81.11 kB / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.564e-06/0.2969, allocations: 3.984 kB / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.667e-05/0.297, allocations: 0 / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.297, allocations: 4 kB / 1.058 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.297, allocations: 4 kB / 1.058 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.119e-05/0.297, allocations: 79.28 kB / 1.058 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.297, allocations: 0 / 1.058 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001889/0.2972, allocations: 7.938 kB / 1.058 GB, free: 1.906 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.0003864/0.2976, allocations: 0.6124 MB / 1.058 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004361/0.2981, allocations: 63.91 kB / 1.058 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2981, allocations: 0 / 1.058 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.2983, allocations: 39.95 kB / 1.058 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.2985, allocations: 0 / 1.058 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.2989, allocations: 134.8 kB / 1.059 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.2991, allocations: 0.6731 MB / 1.059 GB, free: 296 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.455e-05/0.2991, allocations: 3.984 kB / 1.059 GB, free: 292 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.2992, allocations: 19.44 kB / 1.059 GB, free: 272 kB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.2992, allocations: 0 / 1.059 GB, free: 272 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.3106, allocations: 1.115 MB / 1.06 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.3108, allocations: 251.7 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/1.92, allocations: 0.75 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > 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