Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00173/0.00173, allocations: 103.3 kB / 16.45 MB, free: 6.5 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.002062/0.002062, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.53/1.53, allocations: 230.6 MB / 252.8 MB, free: 8.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.957/2.957, allocations: 476.7 MB / 0.7672 GB, free: 5.211 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_11_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.002703/0.002703, allocations: 67.89 kB / 1.112 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9504/0.9531, allocations: 169.9 MB / 1.278 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001767/0.9548, allocations: 0.5953 MB / 1.279 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002996/0.9551, allocations: 97.55 kB / 1.279 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.704e-05/0.9552, allocations: 3.938 kB / 1.279 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.9552, allocations: 0 / 1.279 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.572e-05/0.9552, allocations: 0 / 1.279 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.9554, allocations: 23.91 kB / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.129e-05/0.9555, allocations: 4 kB / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.9555, allocations: 0 / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.394e-05/0.9556, allocations: 12 kB / 1.279 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.674e-05/0.9556, allocations: 3.984 kB / 1.279 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.9557, allocations: 0 / 1.279 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.611e-05/0.9557, allocations: 15.98 kB / 1.279 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.9557, allocations: 3.938 kB / 1.279 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.9558, allocations: 7.984 kB / 1.279 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.69e-05/0.9558, allocations: 9.812 kB / 1.279 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.9559, allocations: 4 kB / 1.279 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9559, allocations: 0 / 1.279 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.9559, allocations: 0 / 1.279 GB, free: 12.62 MB / 0.9825 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.000402/0.9563, allocations: 323.5 kB / 1.279 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.9563, allocations: 8.031 kB / 1.279 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.196e-05/0.9563, allocations: 34.75 kB / 1.279 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.9565, allocations: 12.92 kB / 1.279 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.9566, allocations: 168.3 kB / 1.28 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.9567, allocations: 4.312 kB / 1.28 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.9567, allocations: 384 / 1.28 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.9568, allocations: 38.25 kB / 1.28 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.9568, allocations: 7.938 kB / 1.28 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.9568, allocations: 0 / 1.28 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.9568, allocations: 3.984 kB / 1.28 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.276e-05/0.9569, allocations: 15.98 kB / 1.28 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.9571, allocations: 145.7 kB / 1.28 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.9573, allocations: 46.53 kB / 1.28 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.048e-05/0.9573, allocations: 12.92 kB / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.9573, allocations: 0 / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.9574, allocations: 34.56 kB / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.9574, allocations: 0 / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002226/0.9576, allocations: 57.61 kB / 1.28 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.9576, allocations: 51.41 kB / 1.28 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.661e-05/0.9577, allocations: 97.8 kB / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.9577, allocations: 25.7 kB / 1.28 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.9577, allocations: 84.14 kB / 1.28 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.9578, allocations: 19.83 kB / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.9578, allocations: 13.72 kB / 1.28 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.9579, allocations: 310.8 kB / 1.281 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.706e-05/0.958, allocations: 15.92 kB / 1.281 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.344e-05/0.958, allocations: 4.188 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.68e-05/0.9581, allocations: 28.92 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9581, allocations: 0 / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000117/0.9582, allocations: 45.69 kB / 1.281 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.9582, allocations: 8 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.9583, allocations: 3.938 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.9583, allocations: 0 / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004673/0.9587, allocations: 51.86 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.9603, allocations: 1.393 MB / 1.282 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.98e-05/0.9603, allocations: 4 kB / 1.282 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.9603, allocations: 4.094 kB / 1.282 GB, free: 9.207 MB / 0.9825 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 8.996e-05/0.9604, allocations: 117.7 kB / 1.282 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-06/0.9604, allocations: 4 kB / 1.282 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.278e-05/0.9604, allocations: 3.5 kB / 1.282 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.9604, allocations: 3.938 kB / 1.282 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.9604, allocations: 4 kB / 1.282 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.9604, allocations: 0 / 1.282 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.9605, allocations: 161.6 kB / 1.282 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.9605, allocations: 0 / 1.282 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/0.9609, allocations: 51.92 kB / 1.282 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.9609, allocations: 0 / 1.282 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.9609, allocations: 0 / 1.282 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/0.9623, allocations: 1.416 MB / 1.284 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9623, allocations: 0 / 1.284 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.9624, allocations: 65.16 kB / 1.284 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.9625, allocations: 89.05 kB / 1.284 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.9625, allocations: 8 kB / 1.284 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.824e-05/0.9625, allocations: 4 kB / 1.284 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.9626, allocations: 4 kB / 1.284 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.9626, allocations: 0 / 1.284 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.45e-05/0.9626, allocations: 75.28 kB / 1.284 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.9626, allocations: 0 / 1.284 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002056/0.9628, allocations: 7.938 kB / 1.284 GB, free: 6.969 MB / 0.9825 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.0004964/0.9633, allocations: 0.6129 MB / 1.285 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004974/0.9638, allocations: 63.91 kB / 1.285 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.9638, allocations: 0 / 1.285 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.9641, allocations: 39.89 kB / 1.285 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.9642, allocations: 0 / 1.285 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004472/0.9647, allocations: 134.4 kB / 1.285 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.965, allocations: 0.6807 MB / 1.285 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.726e-05/0.965, allocations: 0 / 1.285 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.965, allocations: 11.44 kB / 1.285 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.965, allocations: 0 / 1.285 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.9909, allocations: 1.304 MB / 1.287 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.66, allocations: 15.28 kB / 1.287 GB, free: 4.164 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.224666401045397]