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.0008428/0.0008428, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008956/0.0008956, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9371/0.9371, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.747/1.747, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/2.013e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001218/0.001238, allocations: 0.6063 MB / 0.9511 GB, free: 2.84 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002311/0.001469, allocations: 87.73 kB / 0.9512 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.65e-05/0.001486, allocations: 0 / 0.9512 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.001501, allocations: 0 / 0.9512 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.766e-05/0.001549, allocations: 0 / 0.9512 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.001773, allocations: 19.86 kB / 0.9512 GB, free: 2.734 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.407e-05/0.001827, allocations: 15.92 kB / 0.9512 GB, free: 2.719 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.001869, allocations: 7.984 kB / 0.9513 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.174e-05/0.001901, allocations: 0 / 0.9513 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.955e-05/0.00197, allocations: 4 kB / 0.9513 GB, free: 2.707 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.001985, allocations: 0 / 0.9513 GB, free: 2.707 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.527e-05/0.00204, allocations: 15.98 kB / 0.9513 GB, free: 2.691 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.002054, allocations: 0 / 0.9513 GB, free: 2.691 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.537e-05/0.00207, allocations: 0 / 0.9513 GB, free: 2.691 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.182e-05/0.002161, allocations: 23.95 kB / 0.9513 GB, free: 2.668 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.002163, allocations: 0 / 0.9513 GB, free: 2.668 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.133e-06/0.002164, allocations: 0 / 0.9513 GB, free: 2.668 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.002168, allocations: 7.938 kB / 0.9513 GB, free: 2.66 MB / 0.9011 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.000289/0.002457, allocations: 250.4 kB / 0.9515 GB, free: 2.383 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.002499, allocations: 8.031 kB / 0.9516 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.378e-05/0.002532, allocations: 30.75 kB / 0.9516 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.002648, allocations: 12.92 kB / 0.9516 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.538e-05/0.002703, allocations: 105.7 kB / 0.9517 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.002722, allocations: 384 / 0.9517 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.002731, allocations: 384 / 0.9517 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.002834, allocations: 46.19 kB / 0.9517 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.002842, allocations: 8.172 kB / 0.9517 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.002849, allocations: 384 / 0.9517 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.002855, allocations: 4.125 kB / 0.9518 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.154e-05/0.002907, allocations: 15.98 kB / 0.9518 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001126/0.003019, allocations: 120.8 kB / 0.9519 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.003128, allocations: 38.56 kB / 0.9519 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.753e-05/0.003156, allocations: 12.91 kB / 0.9519 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.003173, allocations: 4 kB / 0.9519 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.003192, allocations: 38.5 kB / 0.952 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 5.71e-07/0.003193, allocations: 0 / 0.952 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.000151/0.003344, allocations: 57.67 kB / 0.952 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.003376, allocations: 55.34 kB / 0.9521 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.631e-05/0.003402, allocations: 89.86 kB / 0.9522 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.003412, allocations: 25.7 kB / 0.9522 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.91e-05/0.003431, allocations: 80.14 kB / 0.9523 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.003463, allocations: 11.89 kB / 0.9523 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.003489, allocations: 13.72 kB / 0.9523 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.519e-05/0.003564, allocations: 318.8 kB / 0.9526 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.003586, allocations: 8 kB / 0.9526 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.727e-05/0.003604, allocations: 11.98 kB / 0.9526 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.728e-05/0.003651, allocations: 24.8 kB / 0.9526 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.003653, allocations: 0 / 0.9526 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.045e-05/0.003713, allocations: 53.62 kB / 0.9527 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.003728, allocations: 8 kB / 0.9527 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.003733, allocations: 0 / 0.9527 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.003744, allocations: 0 / 0.9527 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.003946, allocations: 43.94 kB / 0.9527 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007932/0.00474, allocations: 1.293 MB / 0.954 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.629e-05/0.004756, allocations: 7.984 kB / 0.954 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.004761, allocations: 3.984 kB / 0.954 GB, free: 15.58 MB / 0.9167 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 5.974e-05/0.004821, allocations: 113.8 kB / 0.9541 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-06/0.004826, allocations: 4 kB / 0.9541 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.214e-06/0.004833, allocations: 7.562 kB / 0.9541 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.004835, allocations: 7.938 kB / 0.9541 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.31e-07/0.004835, allocations: 0 / 0.9541 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.00484, allocations: 3.984 kB / 0.9541 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.159e-05/0.004901, allocations: 124.7 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.004903, allocations: 0 / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.005068, allocations: 51.92 kB / 0.9543 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.00507, allocations: 3.938 kB / 0.9543 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.005076, allocations: 0 / 0.9543 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006441/0.00572, allocations: 1.297 MB / 0.9556 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.005722, allocations: 3.938 kB / 0.9556 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.326e-05/0.005795, allocations: 77.08 kB / 0.9557 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-06/0.005798, allocations: 0 / 0.9557 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-06/0.005801, allocations: 0 / 0.9557 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.256e-05/0.005814, allocations: 4 kB / 0.9557 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.151e-05/0.005835, allocations: 11.92 kB / 0.9557 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.005838, allocations: 0 / 0.9557 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.097e-05/0.005859, allocations: 79.38 kB / 0.9558 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3e-08/0.005859, allocations: 0 / 0.9558 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001354/0.005995, allocations: 4 kB / 0.9558 GB, free: 13.61 MB / 0.9167 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.0002678/0.006262, allocations: 0.6124 MB / 0.9564 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002509/0.006513, allocations: 59.91 kB / 0.9564 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.006515, allocations: 0 / 0.9564 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.006628, allocations: 36.16 kB / 0.9564 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001011/0.006729, allocations: 10.27 kB / 0.9565 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.007058, allocations: 130.5 kB / 0.9566 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.755e-05/0.007096, allocations: 59.36 kB / 0.9566 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.439e-05/0.00712, allocations: 4 kB / 0.9566 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.007152, allocations: 12.48 kB / 0.9567 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.007152, allocations: 0 / 0.9567 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.02119, allocations: 1.903 MB / 0.9585 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.553/7.574, allocations: 5.312 kB / 0.9585 GB, free: 10.84 MB / 0.9167 GB " [Timeout remaining time 292] (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/jenkins/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: 11.846143114380538]