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.008457/0.008457, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001838/0.001838, allocations: 195.2 kB / 16.67 MB, free: 5.52 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.216/2.216, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.89 kB / 0.9504 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8708/0.8723, allocations: 140.4 MB / 1.088 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001722/0.8741, allocations: 0.5818 MB / 1.088 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002686/0.8743, allocations: 97.11 kB / 1.088 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.769e-05/0.8744, allocations: 0 / 1.088 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.8744, allocations: 0 / 1.088 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.984e-05/0.8744, allocations: 3.938 kB / 1.088 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.8747, allocations: 14.62 kB / 1.088 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.883e-05/0.8747, allocations: 8.109 kB / 1.088 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.8748, allocations: 6.375 kB / 1.088 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.995e-05/0.8748, allocations: 7.641 kB / 1.088 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.173e-05/0.8749, allocations: 9.953 kB / 1.088 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.8749, allocations: 1.438 kB / 1.088 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.769e-05/0.8749, allocations: 10.02 kB / 1.088 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.875, allocations: 6.359 kB / 1.088 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.875, allocations: 1.812 kB / 1.088 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.8751, allocations: 13.62 kB / 1.088 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.8751, allocations: 3.938 kB / 1.088 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.233e-06/0.8751, allocations: 4 kB / 1.088 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.8751, allocations: 1.156 kB / 1.088 GB, free: 4.793 MB / 0.8575 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.0002712/0.8754, allocations: 324.5 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.8754, allocations: 9.562 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.807e-05/0.8755, allocations: 32.86 kB / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.8756, allocations: 9.516 kB / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.446e-05/0.8757, allocations: 161.8 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.8757, allocations: 6.594 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.8757, allocations: 4.375 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.8758, allocations: 35.39 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.8759, allocations: 5.062 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.8759, allocations: 0 / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.8759, allocations: 1.828 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.339e-05/0.876, allocations: 18.78 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001149/0.8761, allocations: 154.9 kB / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.8763, allocations: 43.47 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.091e-05/0.8763, allocations: 11.3 kB / 1.089 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.8764, allocations: 0.9375 kB / 1.089 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.8764, allocations: 35.97 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.8764, allocations: 0 / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002269/0.8766, allocations: 61.03 kB / 1.089 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.8767, allocations: 56.06 kB / 1.089 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.154e-05/0.8767, allocations: 89.86 kB / 1.089 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.8767, allocations: 26.77 kB / 1.089 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.383e-05/0.8767, allocations: 80.89 kB / 1.089 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.8768, allocations: 12.28 kB / 1.089 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.8768, allocations: 13.11 kB / 1.089 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.432e-05/0.8768, allocations: 312.5 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-05/0.8769, allocations: 14.14 kB / 1.09 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.414e-05/0.8769, allocations: 13.45 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.996e-05/0.877, allocations: 21.89 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.877, allocations: 3.938 kB / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001065/0.8771, allocations: 55.48 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.8771, allocations: 5.188 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.8772, allocations: 4.938 kB / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.8772, allocations: 0.5156 kB / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.8776, allocations: 45.03 kB / 1.09 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.8788, allocations: 1.399 MB / 1.091 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.167e-05/0.8788, allocations: 9.562 kB / 1.091 GB, free: 17.69 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.8788, allocations: 1.125 kB / 1.091 GB, free: 17.69 MB / 0.8731 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 9.081e-05/0.8789, allocations: 119.7 kB / 1.091 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.8789, allocations: 5.719 kB / 1.091 GB, free: 17.56 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.501e-05/0.8789, allocations: 5.234 kB / 1.091 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.8789, allocations: 0 / 1.091 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.879, allocations: 1.125 kB / 1.091 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.879, allocations: 4.719 kB / 1.091 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.8791, allocations: 159.2 kB / 1.092 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8791, allocations: 0 / 1.092 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/0.8795, allocations: 46.98 kB / 1.092 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.8795, allocations: 0.7031 kB / 1.092 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.8795, allocations: 0.9375 kB / 1.092 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.8806, allocations: 1.413 MB / 1.093 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8806, allocations: 1.188 kB / 1.093 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.8807, allocations: 73.02 kB / 1.093 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.8808, allocations: 82.8 kB / 1.093 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.8808, allocations: 9.891 kB / 1.093 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.766e-05/0.8808, allocations: 0.5625 kB / 1.093 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.545e-05/0.8809, allocations: 3.281 kB / 1.093 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.8809, allocations: 1.812 kB / 1.093 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 2.406e-05/0.8809, allocations: 75.28 kB / 1.093 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8809, allocations: 0 / 1.093 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0001942/0.8811, allocations: 2.938 kB / 1.093 GB, free: 15.65 MB / 0.8731 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.0003922/0.8815, allocations: 0.6126 MB / 1.094 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004852/0.882, allocations: 68.17 kB / 1.094 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.882, allocations: 0 / 1.094 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.8823, allocations: 34.98 kB / 1.094 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.8824, allocations: 10.06 kB / 1.094 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.8828, allocations: 127.7 kB / 1.094 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.883, allocations: 0.6737 MB / 1.095 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.336e-05/0.8831, allocations: 3.094 kB / 1.095 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.8831, allocations: 10.11 kB / 1.095 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.8831, allocations: 0 / 1.095 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.8999, allocations: 1.297 MB / 1.096 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.8, allocations: 5.234 kB / 1.096 GB, free: 13.78 MB / 0.8731 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