Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002365/0.002365, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.4/3.4, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 66.02 kB / 1.177 GB, free: 16.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.405, allocations: 180.2 MB / 1.353 GB, free: 8.398 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001883/0.4069, allocations: 0.6047 MB / 1.353 GB, free: 7.797 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003409/0.4073, allocations: 104.1 kB / 1.354 GB, free: 7.695 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.892e-05/0.4073, allocations: 0 / 1.354 GB, free: 7.695 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.238e-05/0.4073, allocations: 0 / 1.354 GB, free: 7.695 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.906e-05/0.4074, allocations: 0 / 1.354 GB, free: 7.695 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.4076, allocations: 27.91 kB / 1.354 GB, free: 7.668 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.052e-05/0.4077, allocations: 4 kB / 1.354 GB, free: 7.664 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.4077, allocations: 0 / 1.354 GB, free: 7.664 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.355e-05/0.4078, allocations: 7.984 kB / 1.354 GB, free: 7.656 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.915e-05/0.4078, allocations: 0 / 1.354 GB, free: 7.656 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.4079, allocations: 0 / 1.354 GB, free: 7.656 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.512e-05/0.4079, allocations: 15.98 kB / 1.354 GB, free: 7.641 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.4079, allocations: 3.938 kB / 1.354 GB, free: 7.637 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.408, allocations: 8 kB / 1.354 GB, free: 7.629 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.4081, allocations: 16.19 kB / 1.354 GB, free: 7.613 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4081, allocations: 4 kB / 1.354 GB, free: 7.609 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4081, allocations: 0 / 1.354 GB, free: 7.609 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.4081, allocations: 0 / 1.354 GB, free: 7.609 MB / 1.045 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.0003647/0.4084, allocations: 242.5 kB / 1.354 GB, free: 7.34 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.4085, allocations: 8.031 kB / 1.354 GB, free: 7.332 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.835e-05/0.4085, allocations: 34.69 kB / 1.354 GB, free: 7.289 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.4087, allocations: 16.88 kB / 1.354 GB, free: 7.273 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.348e-05/0.4088, allocations: 106.5 kB / 1.354 GB, free: 7.145 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.4088, allocations: 4.375 kB / 1.354 GB, free: 7.141 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.4088, allocations: 8.312 kB / 1.354 GB, free: 7.133 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.4089, allocations: 42.19 kB / 1.354 GB, free: 7.086 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4089, allocations: 7.922 kB / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.4089, allocations: 0 / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.4089, allocations: 0 / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.312e-05/0.409, allocations: 15.98 kB / 1.354 GB, free: 7.062 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.4092, allocations: 124.8 kB / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.4094, allocations: 42.59 kB / 1.354 GB, free: 6.848 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.596e-05/0.4094, allocations: 8.922 kB / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.4094, allocations: 3.938 kB / 1.354 GB, free: 6.832 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.4095, allocations: 34.56 kB / 1.354 GB, free: 6.789 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4095, allocations: 0 / 1.354 GB, free: 6.789 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002339/0.4097, allocations: 65.61 kB / 1.354 GB, free: 6.719 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.4097, allocations: 51.41 kB / 1.354 GB, free: 6.656 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.939e-05/0.4098, allocations: 89.86 kB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.4098, allocations: 25.7 kB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.4098, allocations: 80.14 kB / 1.355 GB, free: 6.445 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.4099, allocations: 7.938 kB / 1.355 GB, free: 6.438 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.4099, allocations: 17.72 kB / 1.355 GB, free: 6.414 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4101, allocations: 310.8 kB / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.19e-05/0.4101, allocations: 11.98 kB / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.554e-05/0.4101, allocations: 11.94 kB / 1.355 GB, free: 6.078 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.765e-05/0.4102, allocations: 20.84 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4102, allocations: 4 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001223/0.4103, allocations: 45.69 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.4104, allocations: 4 kB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.4104, allocations: 3.938 kB / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.4104, allocations: 7.984 kB / 1.355 GB, free: 5.984 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.4108, allocations: 39.94 kB / 1.355 GB, free: 5.945 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.4123, allocations: 1.301 MB / 1.356 GB, free: 4.531 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.065e-05/0.4123, allocations: 4 kB / 1.356 GB, free: 4.527 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.4123, allocations: 4.031 kB / 1.356 GB, free: 4.523 MB / 1.045 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.949e-05/0.4124, allocations: 111.2 kB / 1.356 GB, free: 4.406 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.031e-05/0.4124, allocations: 3.953 kB / 1.356 GB, free: 4.402 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.935e-05/0.4124, allocations: 7.859 kB / 1.356 GB, free: 4.391 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.4124, allocations: 4 kB / 1.356 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.22e-07/0.4124, allocations: 8 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4124, allocations: 3.984 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.4125, allocations: 132.6 kB / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4125, allocations: 3.938 kB / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003821/0.4129, allocations: 47.92 kB / 1.357 GB, free: 4.152 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4129, allocations: 4 kB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.4129, allocations: 0 / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.4143, allocations: 1.297 MB / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4143, allocations: 3.938 kB / 1.358 GB, free: 2.738 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.4144, allocations: 69.25 kB / 1.358 GB, free: 2.652 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-06/0.4144, allocations: 8 kB / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.476e-06/0.4144, allocations: 3.938 kB / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.891e-05/0.4145, allocations: 3.984 kB / 1.358 GB, free: 2.637 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.4145, allocations: 4 kB / 1.358 GB, free: 2.633 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.4145, allocations: 0 / 1.358 GB, free: 2.633 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.756e-05/0.4145, allocations: 75.28 kB / 1.358 GB, free: 2.559 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4145, allocations: 0 / 1.358 GB, free: 2.559 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001995/0.4147, allocations: 8 kB / 1.358 GB, free: 2.551 MB / 1.045 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.000483/0.4152, allocations: 0.6085 MB / 1.359 GB, free: 1.91 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004807/0.4157, allocations: 63.91 kB / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4157, allocations: 0 / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.4159, allocations: 43.88 kB / 1.359 GB, free: 1.805 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.4161, allocations: 6.5 kB / 1.359 GB, free: 1.801 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.4166, allocations: 122.6 kB / 1.359 GB, free: 1.641 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.417, allocations: 0.6729 MB / 1.36 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.534e-05/0.417, allocations: 8.266 kB / 1.36 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.417, allocations: 11.42 kB / 1.36 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/0.417, allocations: 0 / 1.36 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03767/0.4547, allocations: 1.326 MB / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.68, allocations: 6.75 kB / 1.361 GB, free: 15.72 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.83325620300002]