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.001545/0.001545, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001626/0.001626, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.785 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.89/2.89, allocations: 476 MB / 0.7699 GB, free: 4.727 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.002156/0.002156, allocations: 66.12 kB / 1.117 GB, free: 40.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3488, allocations: 170 MB / 1.283 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001749/0.3505, allocations: 0.5965 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003069/0.3508, allocations: 91.69 kB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.594e-05/0.3508, allocations: 0 / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.3509, allocations: 0 / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.493e-05/0.3509, allocations: 0 / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.3511, allocations: 19.91 kB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.772e-05/0.3512, allocations: 8 kB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.3512, allocations: 7.984 kB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.409e-05/0.3512, allocations: 0 / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.115e-05/0.3513, allocations: 4 kB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.3513, allocations: 0 / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.8e-05/0.3514, allocations: 19.98 kB / 1.283 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.3514, allocations: 3.938 kB / 1.283 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.3514, allocations: 7.922 kB / 1.283 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.185e-05/0.3515, allocations: 15.5 kB / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3515, allocations: 8 kB / 1.283 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3515, allocations: 0 / 1.283 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.3515, allocations: 0 / 1.283 GB, free: 11.51 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.0003474/0.3519, allocations: 240.2 kB / 1.284 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3519, allocations: 8.031 kB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.795e-05/0.3519, allocations: 30.75 kB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.3521, allocations: 8.922 kB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.108e-05/0.3522, allocations: 114.5 kB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.3522, allocations: 384 / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.3522, allocations: 384 / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.3523, allocations: 46.23 kB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3524, allocations: 7.922 kB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.3524, allocations: 4 kB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3524, allocations: 0 / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.254e-05/0.3524, allocations: 11.98 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.3526, allocations: 128.7 kB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.3528, allocations: 46.53 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.947e-05/0.3528, allocations: 12.92 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.3529, allocations: 4 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.3529, allocations: 34.56 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3529, allocations: 0 / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002189/0.3531, allocations: 57.61 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.3532, allocations: 55.34 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.329e-05/0.3532, allocations: 89.86 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.3532, allocations: 25.7 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.3533, allocations: 80.14 kB / 1.284 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.3533, allocations: 15.89 kB / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.3533, allocations: 17.72 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3534, allocations: 318.8 kB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.914e-05/0.3535, allocations: 3.984 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.717e-05/0.3535, allocations: 4 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.861e-05/0.3536, allocations: 24.84 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3536, allocations: 0 / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000124/0.3537, allocations: 49.69 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.3537, allocations: 4 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3537, allocations: 3.938 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3538, allocations: 11.94 kB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.3541, allocations: 39.92 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.3555, allocations: 1.293 MB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.745e-05/0.3555, allocations: 3.938 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3555, allocations: 12 kB / 1.286 GB, free: 8.426 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.632e-05/0.3556, allocations: 120.3 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-06/0.3556, allocations: 4 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.918e-05/0.3556, allocations: 7.531 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.3556, allocations: 0 / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.51e-07/0.3556, allocations: 0 / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3556, allocations: 0 / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.3557, allocations: 128.7 kB / 1.286 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3557, allocations: 0 / 1.286 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003643/0.3561, allocations: 47.94 kB / 1.286 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.3561, allocations: 0 / 1.286 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.3561, allocations: 3.938 kB / 1.286 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.3574, allocations: 1.312 MB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3574, allocations: 0 / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.3575, allocations: 73.14 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-06/0.3575, allocations: 4 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.3576, allocations: 3.938 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.612e-05/0.3576, allocations: 0 / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.3576, allocations: 4.094 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.3576, allocations: 4 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.647e-05/0.3576, allocations: 79.27 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3576, allocations: 3.938 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001971/0.3578, allocations: 8 kB / 1.288 GB, free: 6.449 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.0004807/0.3583, allocations: 0.6046 MB / 1.288 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004659/0.3588, allocations: 63.92 kB / 1.288 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.3588, allocations: 0 / 1.288 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.359, allocations: 40.08 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.3592, allocations: 5.719 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004789/0.3597, allocations: 122.6 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.422e-05/0.3597, allocations: 59.34 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.28e-05/0.3597, allocations: 4 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.3598, allocations: 7.438 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3598, allocations: 0 / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03059/0.3904, allocations: 1.754 MB / 1.29 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.45, allocations: 8.688 kB / 1.29 GB, free: 3.84 MB / 0.9825 GB " [Timeout remaining time 286] (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: 20.416485152207315]