Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_9_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.001451/0.001451, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 196.6 kB / 16.53 MB, free: 6.664 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 / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.2 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 71.89 kB / 0.8127 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5816/0.5832, allocations: 140.4 MB / 0.9497 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001592/0.5848, allocations: 0.5814 MB / 0.9503 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000226/0.5851, allocations: 93.47 kB / 0.9504 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.474e-05/0.5851, allocations: 0 / 0.9504 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.022e-05/0.5851, allocations: 0 / 0.9504 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.02e-05/0.5852, allocations: 5.203 kB / 0.9504 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.5854, allocations: 17.36 kB / 0.9504 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.17e-05/0.5854, allocations: 11.66 kB / 0.9504 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.5854, allocations: 5.484 kB / 0.9504 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.694e-05/0.5855, allocations: 2.625 kB / 0.9504 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.782e-05/0.5855, allocations: 2.719 kB / 0.9504 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.5856, allocations: 0 / 0.9504 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.176e-05/0.5856, allocations: 18.58 kB / 0.9505 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.5856, allocations: 5.297 kB / 0.9505 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.844e-05/0.5857, allocations: 9.078 kB / 0.9505 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.648e-05/0.5857, allocations: 13.8 kB / 0.9505 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5857, allocations: 0 / 0.9505 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5857, allocations: 4 kB / 0.9505 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.5857, allocations: 0 / 0.9505 GB, free: 8.645 MB / 0.7169 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.0002189/0.586, allocations: 314 kB / 0.9508 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.586, allocations: 9.375 kB / 0.9508 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.054e-05/0.586, allocations: 40.12 kB / 0.9508 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.5862, allocations: 9.047 kB / 0.9508 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.201e-05/0.5862, allocations: 161.7 kB / 0.951 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.5862, allocations: 384 / 0.951 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.5863, allocations: 5.906 kB / 0.951 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.705e-05/0.5864, allocations: 39.75 kB / 0.951 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.5864, allocations: 3.938 kB / 0.951 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.5864, allocations: 3.938 kB / 0.951 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.5864, allocations: 1.156 kB / 0.951 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.412e-05/0.5865, allocations: 11.27 kB / 0.9511 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.6e-05/0.5866, allocations: 155.9 kB / 0.9512 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.5867, allocations: 49.44 kB / 0.9513 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.088e-05/0.5868, allocations: 13.95 kB / 0.9513 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.5868, allocations: 0 / 0.9513 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.5868, allocations: 31.69 kB / 0.9513 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.5868, allocations: 0 / 0.9513 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001751/0.587, allocations: 65.33 kB / 0.9514 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.707e-05/0.587, allocations: 56.66 kB / 0.9514 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.184e-05/0.587, allocations: 89.86 kB / 0.9515 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.587, allocations: 29.7 kB / 0.9515 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.316e-06/0.587, allocations: 80.14 kB / 0.9516 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.5871, allocations: 8.719 kB / 0.9516 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.5871, allocations: 16.17 kB / 0.9516 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.32e-05/0.5871, allocations: 314.8 kB / 0.9519 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.577e-05/0.5872, allocations: 7.656 kB / 0.9519 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.912e-05/0.5872, allocations: 9.203 kB / 0.9519 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.176e-05/0.5873, allocations: 20.91 kB / 0.952 GB, free: 7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5873, allocations: 0 / 0.952 GB, free: 7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.268e-05/0.5874, allocations: 50.16 kB / 0.952 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.5874, allocations: 6.344 kB / 0.952 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.5874, allocations: 5.406 kB / 0.952 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.5874, allocations: 0 / 0.952 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.5878, allocations: 48.12 kB / 0.9521 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009532/0.5888, allocations: 1.403 MB / 0.9534 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.982e-05/0.5888, allocations: 9.766 kB / 0.9534 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.5888, allocations: 5.531 kB / 0.9535 GB, free: 5.438 MB / 0.7169 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 5.379e-05/0.5889, allocations: 111.2 kB / 0.9536 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.275e-06/0.5889, allocations: 0 / 0.9536 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.304e-05/0.5889, allocations: 4.531 kB / 0.9536 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.5889, allocations: 0 / 0.9536 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.5889, allocations: 5.219 kB / 0.9536 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5889, allocations: 0 / 0.9536 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.723e-05/0.589, allocations: 165.3 kB / 0.9537 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.589, allocations: 0 / 0.9537 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003614/0.5894, allocations: 46.7 kB / 0.9538 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5894, allocations: 5.281 kB / 0.9538 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.5894, allocations: 0 / 0.9538 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008577/0.5903, allocations: 1.4 MB / 0.9551 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5903, allocations: 3.984 kB / 0.9551 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.5904, allocations: 78.47 kB / 0.9552 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.5904, allocations: 82.23 kB / 0.9553 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.093e-06/0.5904, allocations: 3.938 kB / 0.9553 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.875e-05/0.5905, allocations: 9.172 kB / 0.9553 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.5905, allocations: 14.16 kB / 0.9553 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.5905, allocations: 1.438 kB / 0.9553 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.806e-05/0.5905, allocations: 79.28 kB / 0.9554 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.5905, allocations: 0 / 0.9554 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002017/0.5908, allocations: 7.875 kB / 0.9554 GB, free: 3.316 MB / 0.7169 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.0003232/0.5911, allocations: 0.6055 MB / 0.956 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004867/0.5916, allocations: 71.75 kB / 0.9561 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.5916, allocations: 0 / 0.9561 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002469/0.5918, allocations: 39.17 kB / 0.9561 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.592, allocations: 5.875 kB / 0.9561 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.5925, allocations: 118.3 kB / 0.9562 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.821e-05/0.5926, allocations: 0.6718 MB / 0.9569 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.114e-05/0.5926, allocations: 2.312 kB / 0.9569 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.5926, allocations: 12.86 kB / 0.9569 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5927, allocations: 4 kB / 0.9569 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.6101, allocations: 1.249 MB / 0.9581 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.09, allocations: 5.641 kB / 0.9581 GB, free: 1.094 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches