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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 225.6 MB / 249.3 MB, free: 3.215 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.507/2.507, allocations: 476.7 MB / 0.7628 GB, free: 15.25 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001812/0.001812, allocations: 67.89 kB / 1.107 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7738/0.7756, allocations: 168.7 MB / 1.271 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001406/0.777, allocations: 0.6189 MB / 1.272 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002301/0.7772, allocations: 91.22 kB / 1.272 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.491e-05/0.7773, allocations: 0.8438 kB / 1.272 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.264e-05/0.7773, allocations: 0 / 1.272 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.493e-05/0.7773, allocations: 0.5469 kB / 1.272 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.7775, allocations: 22.88 kB / 1.272 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.142e-05/0.7775, allocations: 6.359 kB / 1.272 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.7776, allocations: 5.906 kB / 1.272 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.568e-05/0.7776, allocations: 3.422 kB / 1.272 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.044e-05/0.7776, allocations: 5.031 kB / 1.272 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.779e-06/0.7776, allocations: 0.75 kB / 1.272 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.114e-05/0.7777, allocations: 14.67 kB / 1.272 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.979e-06/0.7777, allocations: 1.719 kB / 1.272 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.606e-05/0.7777, allocations: 8.578 kB / 1.272 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.235e-05/0.7778, allocations: 15.81 kB / 1.272 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.7778, allocations: 0.9062 kB / 1.272 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7778, allocations: 0 / 1.272 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.7778, allocations: 4.688 kB / 1.272 GB, free: 7.293 MB / 0.9981 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.0002299/0.778, allocations: 321 kB / 1.273 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.7781, allocations: 10.77 kB / 1.273 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.801e-05/0.7781, allocations: 30.75 kB / 1.273 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.7782, allocations: 9.594 kB / 1.273 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.288e-05/0.7783, allocations: 162.2 kB / 1.273 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.7783, allocations: 1.219 kB / 1.273 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.7783, allocations: 1.438 kB / 1.273 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.91e-05/0.7784, allocations: 48.23 kB / 1.273 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.7784, allocations: 4.844 kB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.002e-06/0.7784, allocations: 0 / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.7784, allocations: 0.7812 kB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.352e-05/0.7785, allocations: 11.12 kB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.409e-05/0.7786, allocations: 151.3 kB / 1.273 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.7787, allocations: 46.41 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.983e-05/0.7787, allocations: 18.77 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.7787, allocations: 5.375 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.656e-06/0.7788, allocations: 31.28 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.7788, allocations: 1.031 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0001794/0.7789, allocations: 56.06 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.623e-05/0.779, allocations: 60.12 kB / 1.273 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.12e-05/0.779, allocations: 90.7 kB / 1.273 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-06/0.779, allocations: 25.7 kB / 1.273 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.015e-06/0.779, allocations: 81.75 kB / 1.273 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.779, allocations: 13.97 kB / 1.273 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.779, allocations: 17.61 kB / 1.273 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.143e-05/0.7791, allocations: 316.1 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.735e-05/0.7791, allocations: 9.203 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.084e-05/0.7791, allocations: 10.38 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.235e-05/0.7792, allocations: 21.27 kB / 1.274 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.7792, allocations: 0 / 1.274 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.882e-05/0.7793, allocations: 51.89 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.7793, allocations: 5.469 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.7793, allocations: 4.688 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.7793, allocations: 0.9375 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.7797, allocations: 49.61 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009/0.7806, allocations: 1.402 MB / 1.275 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.716e-05/0.7806, allocations: 6.359 kB / 1.275 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.7806, allocations: 1.297 kB / 1.275 GB, free: 4.188 MB / 0.9981 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 4.029e-05/0.7807, allocations: 112 kB / 1.275 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.7807, allocations: 1.516 kB / 1.275 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.02e-05/0.7807, allocations: 8.062 kB / 1.275 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.7807, allocations: 0.8125 kB / 1.275 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.7807, allocations: 0.8125 kB / 1.275 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.7807, allocations: 4.828 kB / 1.275 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.771e-05/0.7807, allocations: 155.1 kB / 1.275 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.7807, allocations: 0.9062 kB / 1.275 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.7811, allocations: 46.62 kB / 1.275 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.7811, allocations: 0 / 1.275 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.7811, allocations: 0.7188 kB / 1.275 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009694/0.7821, allocations: 1.415 MB / 1.277 GB, free: 18.41 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7821, allocations: 0.9688 kB / 1.277 GB, free: 18.41 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.7822, allocations: 84.64 kB / 1.277 GB, free: 18.33 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.7822, allocations: 81.38 kB / 1.277 GB, free: 18.23 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-06/0.7822, allocations: 4.875 kB / 1.277 GB, free: 18.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.482e-05/0.7822, allocations: 0.6562 kB / 1.277 GB, free: 18.23 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.7823, allocations: 5.5 kB / 1.277 GB, free: 18.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.7823, allocations: 0.8438 kB / 1.277 GB, free: 18.23 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.896e-05/0.7823, allocations: 76.41 kB / 1.277 GB, free: 18.15 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.7823, allocations: 0 / 1.277 GB, free: 18.15 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001774/0.7825, allocations: 6.938 kB / 1.277 GB, free: 18.15 MB / 1.014 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.0004211/0.7829, allocations: 0.6179 MB / 1.278 GB, free: 17.54 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004173/0.7833, allocations: 58.67 kB / 1.278 GB, free: 17.54 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7833, allocations: 0 / 1.278 GB, free: 17.54 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.7835, allocations: 42.27 kB / 1.278 GB, free: 17.53 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.7837, allocations: 3.656 kB / 1.278 GB, free: 17.53 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.784, allocations: 134.2 kB / 1.278 GB, free: 17.38 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.7843, allocations: 0.6724 MB / 1.279 GB, free: 16.68 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.451e-05/0.7843, allocations: 7.75 kB / 1.279 GB, free: 16.68 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.7843, allocations: 8.906 kB / 1.279 GB, free: 16.67 MB / 1.014 GB Notification: Performance of SimCode: time 3.71e-07/0.7843, allocations: 0.9062 kB / 1.279 GB, free: 16.67 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.8079, allocations: 1.251 MB / 1.28 GB, free: 16.31 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/10.92, allocations: 17.22 kB / 1.28 GB, free: 16.3 MB / 1.014 GB " [Timeout remaining time 289] (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: 16.32020757200371]