Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.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.Examples.PowerLinearized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_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.001482/0.001483, allocations: 108 kB / 15.61 MB, free: 148 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.001525/0.001525, allocations: 196.8 kB / 16.53 MB, free: 6.656 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.257/2.257, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.91 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5833/0.5846, allocations: 140.4 MB / 0.9497 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002365/0.587, allocations: 1.436 MB / 0.9511 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002258/0.5872, allocations: 97.3 kB / 0.9512 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.165e-05/0.5873, allocations: 0 / 0.9512 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.5873, allocations: 0 / 0.9512 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.063e-05/0.5874, allocations: 5.219 kB / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.5876, allocations: 13.11 kB / 0.9512 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.695e-05/0.5876, allocations: 30.27 kB / 0.9512 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.99e-05/0.5877, allocations: 2.531 kB / 0.9513 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.762e-05/0.5878, allocations: 15.7 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.403e-05/0.5878, allocations: 11.77 kB / 0.9513 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.5878, allocations: 6.703 kB / 0.9513 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.365e-05/0.5879, allocations: 15.83 kB / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.5879, allocations: 9.188 kB / 0.9513 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.5879, allocations: 10.12 kB / 0.9513 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.99e-05/0.588, allocations: 32.42 kB / 0.9513 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.588, allocations: 1.469 kB / 0.9514 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.588, allocations: 7.938 kB / 0.9514 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.588, allocations: 0 / 0.9514 GB, free: 7.73 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.0003257/0.5884, allocations: 340.8 kB / 0.9517 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.5884, allocations: 9.094 kB / 0.9517 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.144e-05/0.5884, allocations: 30.75 kB / 0.9517 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.5886, allocations: 16.58 kB / 0.9517 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.937e-05/0.5887, allocations: 170.3 kB / 0.9519 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.5887, allocations: 1.531 kB / 0.9519 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.5887, allocations: 5.469 kB / 0.9519 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.5889, allocations: 62.11 kB / 0.952 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.5889, allocations: 3.938 kB / 0.952 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.5889, allocations: 0 / 0.952 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.5889, allocations: 1.344 kB / 0.952 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.5891, allocations: 50.31 kB / 0.952 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.5894, allocations: 266.8 kB / 0.9523 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.5896, allocations: 58.91 kB / 0.9523 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.976e-05/0.5897, allocations: 26.44 kB / 0.9524 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.5897, allocations: 0 / 0.9524 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.279e-05/0.5897, allocations: 35.91 kB / 0.9524 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.5897, allocations: 3.938 kB / 0.9524 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003767/0.5901, allocations: 104.9 kB / 0.9525 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.7e-05/0.5901, allocations: 51.41 kB / 0.9525 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.826e-05/0.5902, allocations: 110.5 kB / 0.9526 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/0.5902, allocations: 25.7 kB / 0.9527 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.16e-05/0.5902, allocations: 85.58 kB / 0.9528 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.5903, allocations: 9.297 kB / 0.9528 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.5903, allocations: 15.09 kB / 0.9528 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.359e-05/0.5903, allocations: 312.2 kB / 0.9531 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.5904, allocations: 24.59 kB / 0.9531 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-05/0.5905, allocations: 25.36 kB / 0.9531 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.5907, allocations: 54.73 kB / 0.9532 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5907, allocations: 5.25 kB / 0.9532 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002217/0.591, allocations: 79.91 kB / 0.9533 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.591, allocations: 5.312 kB / 0.9533 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.591, allocations: 0 / 0.9533 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.591, allocations: 3.938 kB / 0.9533 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.792e-05/0.5911, allocations: 11.39 kB / 0.9533 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.5911, allocations: 1.281 kB / 0.9533 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.074e-05/0.5912, allocations: 8.578 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.5912, allocations: 1.156 kB / 0.9533 GB, free: 5.805 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.5912, allocations: 119.8 kB / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.5913, allocations: 5.531 kB / 0.9534 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.5913, allocations: 9.641 kB / 0.9534 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.5913, allocations: 3.984 kB / 0.9534 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.5913, allocations: 0 / 0.9534 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.5913, allocations: 0 / 0.9534 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.5914, allocations: 172.3 kB / 0.9536 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5914, allocations: 0 / 0.9536 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.586e-05/0.5915, allocations: 11.14 kB / 0.9536 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5915, allocations: 1.156 kB / 0.9536 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.5915, allocations: 4 kB / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5915, allocations: 1.281 kB / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.5915, allocations: 0 / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.5918, allocations: 179.1 kB / 0.9538 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.5918, allocations: 78.2 kB / 0.9538 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.5918, allocations: 0 / 0.9538 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-05/0.5919, allocations: 17.55 kB / 0.9539 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.592, allocations: 5 kB / 0.9539 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.592, allocations: 1.125 kB / 0.9539 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.011e-05/0.592, allocations: 79.84 kB / 0.9539 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.592, allocations: 0 / 0.9539 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000217/0.5922, allocations: 9.5 kB / 0.954 GB, free: 5.094 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003587/0.5926, allocations: 0.7155 MB / 0.9546 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.5928, allocations: 50.27 kB / 0.9547 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5928, allocations: 4.094 kB / 0.9547 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.593, allocations: 31.41 kB / 0.9547 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.5932, allocations: 7.047 kB / 0.9547 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.5936, allocations: 151.9 kB / 0.9549 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.738e-05/0.5937, allocations: 0.6853 MB / 0.9556 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.759e-05/0.5937, allocations: 0.8438 kB / 0.9556 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.5937, allocations: 12.5 kB / 0.9556 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.5938, allocations: 5.062 kB / 0.9556 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/0.6088, allocations: 1.425 MB / 0.957 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.383/7.992, allocations: 5.453 kB / 0.957 GB, free: 2.664 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.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_Examples_PowerLinearized.fmu > Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches