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.004627/0.004627, allocations: 104.2 kB / 15.73 MB, free: 6.043 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.001052/0.001052, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.324/1.324, 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.186/2.186, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.91 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7216/0.7229, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.00207/0.725, allocations: 1.437 MB / 1.089 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002311/0.7253, allocations: 98.53 kB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.203e-05/0.7253, allocations: 0.8438 kB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.311e-05/0.7253, allocations: 4.5 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.063e-05/0.7254, allocations: 5.703 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.7256, allocations: 13.3 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.042e-05/0.7256, allocations: 33.7 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.747e-05/0.7257, allocations: 8.562 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.516e-05/0.7257, allocations: 4.797 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.432e-05/0.7258, allocations: 13.98 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.7258, allocations: 6.188 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.123e-05/0.7259, allocations: 17.5 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.7259, allocations: 6.656 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.7259, allocations: 6.812 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.126e-05/0.726, allocations: 39.34 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.726, allocations: 0 / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.062e-06/0.726, allocations: 0 / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.726, allocations: 0.6562 kB / 1.089 GB, free: 4.145 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.0003257/0.7264, allocations: 344.7 kB / 1.089 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.7264, allocations: 9.25 kB / 1.089 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.077e-05/0.7264, allocations: 32.44 kB / 1.089 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.7266, allocations: 16.83 kB / 1.089 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.329e-05/0.7267, allocations: 183.9 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.7267, allocations: 1.594 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.7267, allocations: 1.562 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.7269, allocations: 55.98 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.7269, allocations: 3.938 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.7269, allocations: 4.797 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.7269, allocations: 1.094 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.7271, allocations: 47.17 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.7274, allocations: 257.6 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.7276, allocations: 63.23 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.7277, allocations: 29.98 kB / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.7277, allocations: 0 / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.097e-05/0.7277, allocations: 32.44 kB / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.7277, allocations: 0 / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003988/0.7281, allocations: 105 kB / 1.09 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.735e-05/0.7282, allocations: 56.25 kB / 1.09 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.874e-05/0.7282, allocations: 104.2 kB / 1.09 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.7282, allocations: 29.64 kB / 1.09 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.36e-05/0.7283, allocations: 82.14 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.7283, allocations: 9.984 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.7283, allocations: 16.7 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.331e-05/0.7284, allocations: 314 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.7285, allocations: 23.06 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.7286, allocations: 23.69 kB / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.7288, allocations: 55.59 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7288, allocations: 4.688 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002377/0.7291, allocations: 81.66 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.7291, allocations: 5.922 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.7291, allocations: 0 / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.7291, allocations: 0.9688 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.7292, allocations: 11.5 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.7292, allocations: 4.031 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.517e-05/0.7293, allocations: 12.11 kB / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.7293, allocations: 5.625 kB / 1.091 GB, free: 2.348 MB / 0.8575 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.217e-05/0.7293, allocations: 112.6 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.7294, allocations: 1.094 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.35e-05/0.7294, allocations: 13.28 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7294, allocations: 0.5156 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.7294, allocations: 1.031 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.7294, allocations: 4.516 kB / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.7295, allocations: 164.8 kB / 1.091 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.7296, allocations: 0 / 1.091 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.352e-05/0.7296, allocations: 12.12 kB / 1.091 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.7296, allocations: 0 / 1.091 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.7297, allocations: 5.406 kB / 1.091 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7297, allocations: 0.5156 kB / 1.091 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.7297, allocations: 0 / 1.091 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.7299, allocations: 185.4 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.73, allocations: 82.91 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.73, allocations: 1.922 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.417e-05/0.7301, allocations: 8.141 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.7301, allocations: 1.969 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.7301, allocations: 0.9688 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.379e-05/0.7301, allocations: 90.94 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7301, allocations: 0 / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002218/0.7304, allocations: 4.062 kB / 1.092 GB, free: 1.68 MB / 0.8575 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.0004227/0.7308, allocations: 0.7099 MB / 1.092 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002629/0.7311, allocations: 58.17 kB / 1.092 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7311, allocations: 0.7188 kB / 1.092 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.7312, allocations: 25.61 kB / 1.092 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.7315, allocations: 2.703 kB / 1.092 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.7319, allocations: 153.8 kB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.7321, allocations: 0.678 MB / 1.093 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.805e-05/0.7321, allocations: 0.9375 kB / 1.093 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.7322, allocations: 13.75 kB / 1.093 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of SimCode: time 8.02e-07/0.7322, allocations: 0 / 1.093 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.7477, allocations: 1.465 MB / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.227/7.975, allocations: 5.375 kB / 1.095 GB, free: 15.73 MB / 0.8731 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