Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001654/0.001654, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002173/0.002173, allocations: 216.9 kB / 22.25 MB, free: 5.117 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.529/1.529, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.387/3.387, allocations: 0.49 GB / 0.7951 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_12_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.002091/0.002091, allocations: 70.23 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.389, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002001/0.391, allocations: 0.6037 MB / 1.327 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003317/0.3913, allocations: 104.1 kB / 1.327 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.198e-05/0.3913, allocations: 0 / 1.327 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.3913, allocations: 0 / 1.327 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.67e-05/0.3914, allocations: 0 / 1.327 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.3916, allocations: 15.92 kB / 1.327 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.204e-05/0.3917, allocations: 11.98 kB / 1.327 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/0.3917, allocations: 4 kB / 1.327 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.703e-05/0.3917, allocations: 0 / 1.327 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.072e-05/0.3918, allocations: 7.984 kB / 1.327 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.3918, allocations: 3.938 kB / 1.327 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.744e-05/0.3919, allocations: 19.98 kB / 1.327 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.3919, allocations: 0 / 1.327 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.837e-05/0.3919, allocations: 0 / 1.327 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.3921, allocations: 24.19 kB / 1.327 GB, free: 1.098 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3921, allocations: 0 / 1.327 GB, free: 1.098 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3921, allocations: 0 / 1.327 GB, free: 1.098 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.3921, allocations: 0 / 1.327 GB, free: 1.098 MB / 1.014 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.0003695/0.3924, allocations: 234.5 kB / 1.327 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3925, allocations: 15.97 kB / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.961e-05/0.3925, allocations: 38.67 kB / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.3927, allocations: 12.92 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.218e-05/0.3928, allocations: 106.5 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.3928, allocations: 4.375 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.3928, allocations: 384 / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.3929, allocations: 38.25 kB / 1.327 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.3929, allocations: 3.938 kB / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-06/0.3929, allocations: 3.938 kB / 1.327 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.393, allocations: 4 kB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.495e-05/0.393, allocations: 11.98 kB / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.3932, allocations: 128.7 kB / 1.327 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.3934, allocations: 42.55 kB / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.045e-05/0.3935, allocations: 16.91 kB / 1.327 GB, free: 332 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.3935, allocations: 3.984 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.3935, allocations: 34.56 kB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3935, allocations: 0 / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0002199/0.3937, allocations: 65.5 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.3938, allocations: 55.41 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.601e-05/0.3938, allocations: 89.86 kB / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.3938, allocations: 25.7 kB / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.3939, allocations: 80.14 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.3939, allocations: 7.953 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.394, allocations: 21.72 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.3941, allocations: 314.8 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.891e-05/0.3942, allocations: 4 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-05/0.3942, allocations: 7.984 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.476e-05/0.3943, allocations: 16.86 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3943, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000119/0.3944, allocations: 57.61 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3944, allocations: 4 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.3944, allocations: 11.94 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3944, allocations: 0 / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.3948, allocations: 43.94 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/0.3964, allocations: 1.301 MB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.753e-05/0.3964, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.3964, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 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 0.0001144/0.3965, allocations: 120.1 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.3965, allocations: 8.078 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.659e-05/0.3966, allocations: 7.531 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3966, allocations: 336 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.3966, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3966, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.3967, allocations: 128.7 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3967, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.397, allocations: 47.94 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.397, allocations: 0 / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.3971, allocations: 4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.3984, allocations: 1.305 MB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3984, allocations: 8.125 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.3986, allocations: 77 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-06/0.3986, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.3986, allocations: 7.938 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.144e-05/0.3986, allocations: 7.938 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.3986, allocations: 3.984 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.3986, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.654e-05/0.3987, allocations: 79.28 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3987, allocations: 0 / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001935/0.3989, allocations: 4 kB / 1.331 GB, free: 12.02 MB / 1.029 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.000557/0.3994, allocations: 0.6124 MB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005163/0.3999, allocations: 59.86 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3999, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.4002, allocations: 35.95 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.4003, allocations: 5.375 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/0.401, allocations: 123.7 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.4014, allocations: 0.6768 MB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.204e-05/0.4015, allocations: 288 / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.4015, allocations: 19.44 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.4015, allocations: 3.938 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.4325, allocations: 1.321 MB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.63, allocations: 16.27 kB / 1.334 GB, free: 9.203 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.710026427997946]