Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_10_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.001123/0.001123, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.008135/0.008135, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.307/1.307, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.353/2.353, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003336, allocations: 12 kB / 0.873 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5843/0.5846, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006451/0.5853, allocations: 325.5 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002843/0.5856, allocations: 95.67 kB / 1.024 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.318e-06/0.5857, allocations: 0 / 1.024 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.007e-05/0.5857, allocations: 0 / 1.024 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.765e-05/0.5857, allocations: 0 / 1.024 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.5859, allocations: 19.97 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.909e-05/0.5859, allocations: 4 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.586, allocations: 8 kB / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.593e-05/0.586, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.342e-05/0.5861, allocations: 7.984 kB / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.5861, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.377e-05/0.5861, allocations: 11.98 kB / 1.024 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.5862, allocations: 4 kB / 1.024 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.5862, allocations: 29.64 kB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.861e-05/0.5863, allocations: 15.97 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.5863, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5863, allocations: 3.938 kB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.5863, allocations: 8 kB / 1.024 GB, free: 15.3 MB / 0.7794 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.0002703/0.5866, allocations: 315.6 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.5866, allocations: 8.031 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.902e-05/0.5866, allocations: 34.75 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.5868, allocations: 12.83 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.99e-05/0.5869, allocations: 160.4 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.5869, allocations: 4.375 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.5869, allocations: 384 / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.587, allocations: 46.23 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.5871, allocations: 3.938 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.5871, allocations: 7.922 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5871, allocations: 4 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.5872, allocations: 11.92 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.5873, allocations: 149.7 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.5875, allocations: 46.59 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/0.5875, allocations: 12.92 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.5875, allocations: 0 / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.5876, allocations: 30.56 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.5876, allocations: 0 / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001958/0.5878, allocations: 61.55 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.5878, allocations: 59.34 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.073e-05/0.5878, allocations: 89.86 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.5879, allocations: 33.7 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.698e-05/0.5879, allocations: 84.12 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.5879, allocations: 6.156 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/0.588, allocations: 9.719 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.784e-05/0.588, allocations: 310.8 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-05/0.5881, allocations: 8 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.158e-05/0.5881, allocations: 7.984 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.471e-05/0.5882, allocations: 28.84 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5882, allocations: 0 / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001133/0.5883, allocations: 49.62 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.5884, allocations: 4 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5884, allocations: 3.938 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.5884, allocations: 0 / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.5887, allocations: 47.92 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.5899, allocations: 1.318 MB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/0.59, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.59, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 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.321e-05/0.59, allocations: 122.5 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.5901, allocations: 3.984 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.029e-05/0.5901, allocations: 3.5 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.5901, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.5901, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.5901, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.864e-05/0.5902, allocations: 161.5 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5902, allocations: 3.938 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003614/0.5906, allocations: 47.94 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.5906, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.5906, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.5916, allocations: 1.31 MB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5917, allocations: 4.156 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.5918, allocations: 73.09 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.5918, allocations: 77.11 kB / 1.028 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-06/0.5918, allocations: 7.984 kB / 1.028 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.554e-05/0.5919, allocations: 3.938 kB / 1.028 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.5919, allocations: 0 / 1.028 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.5919, allocations: 8 kB / 1.028 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.117e-05/0.5919, allocations: 79.28 kB / 1.028 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5919, allocations: 0 / 1.028 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001864/0.5921, allocations: 11.94 kB / 1.028 GB, free: 9.871 MB / 0.7794 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.0003645/0.5925, allocations: 0.6123 MB / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004247/0.5929, allocations: 63.94 kB / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5929, allocations: 0 / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.5932, allocations: 44.03 kB / 1.029 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.5933, allocations: 8.312 kB / 1.029 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.5937, allocations: 120.6 kB / 1.029 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.5939, allocations: 0.6731 MB / 1.03 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.225e-05/0.5939, allocations: 7.922 kB / 1.03 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.594, allocations: 11.44 kB / 1.03 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.594, allocations: 4 kB / 1.03 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06633/0.6603, allocations: 1.065 MB / 1.031 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/0.6606, allocations: 245.2 kB / 1.031 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.363, allocations: 0 / 1.031 GB, free: 7.086 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches