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.001424/0.001424, allocations: 110.2 kB / 16.46 MB, free: 6.035 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.002113/0.002113, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.477/1.477, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] 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.867/2.867, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 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.003101/0.003101, allocations: 67.89 kB / 1.104 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8282/0.8313, allocations: 168.7 MB / 1.269 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001829/0.8331, allocations: 0.5941 MB / 1.269 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000294/0.8334, allocations: 101.6 kB / 1.269 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.768e-05/0.8334, allocations: 0 / 1.269 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.8334, allocations: 3.938 kB / 1.269 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.677e-05/0.8335, allocations: 3.938 kB / 1.269 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.8337, allocations: 15.97 kB / 1.269 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.125e-05/0.8337, allocations: 8 kB / 1.269 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.956e-05/0.8338, allocations: 0 / 1.269 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.77e-05/0.8338, allocations: 4 kB / 1.269 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.163e-05/0.8339, allocations: 3.984 kB / 1.269 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.8339, allocations: 4 kB / 1.27 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.032e-05/0.8339, allocations: 15.98 kB / 1.27 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.8339, allocations: 0 / 1.27 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.834, allocations: 11.92 kB / 1.27 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.179e-05/0.8341, allocations: 17.75 kB / 1.27 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.8341, allocations: 0 / 1.27 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8341, allocations: 0 / 1.27 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.8341, allocations: 0 / 1.27 GB, free: 4.34 MB / 0.9669 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.00039/0.8344, allocations: 323.5 kB / 1.27 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.8345, allocations: 12.03 kB / 1.27 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.8345, allocations: 34.75 kB / 1.27 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.8347, allocations: 8.922 kB / 1.27 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.8348, allocations: 164.4 kB / 1.27 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.8348, allocations: 384 / 1.27 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.8348, allocations: 384 / 1.27 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.835, allocations: 38.25 kB / 1.27 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.835, allocations: 3.938 kB / 1.27 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.835, allocations: 4 kB / 1.27 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.835, allocations: 4 kB / 1.27 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.944e-05/0.8351, allocations: 15.91 kB / 1.27 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.8352, allocations: 153.7 kB / 1.27 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.8354, allocations: 46.59 kB / 1.27 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.666e-05/0.8355, allocations: 12.86 kB / 1.27 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.8355, allocations: 4 kB / 1.27 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.8355, allocations: 30.56 kB / 1.27 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.8355, allocations: 0 / 1.27 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002255/0.8357, allocations: 61.55 kB / 1.27 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.8358, allocations: 51.41 kB / 1.27 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.527e-05/0.8358, allocations: 93.8 kB / 1.271 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.8358, allocations: 25.7 kB / 1.271 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.8359, allocations: 88.14 kB / 1.271 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.8359, allocations: 19.86 kB / 1.271 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.8359, allocations: 9.719 kB / 1.271 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.8361, allocations: 318.8 kB / 1.271 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.903e-05/0.8361, allocations: 4 kB / 1.271 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.8362, allocations: 7.984 kB / 1.271 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.319e-05/0.8362, allocations: 20.84 kB / 1.271 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8362, allocations: 4 kB / 1.271 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001195/0.8364, allocations: 53.58 kB / 1.271 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.8364, allocations: 4 kB / 1.271 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.8364, allocations: 3.938 kB / 1.271 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.8364, allocations: 4 kB / 1.271 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.8368, allocations: 43.92 kB / 1.271 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.8382, allocations: 1.397 MB / 1.273 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.441e-05/0.8383, allocations: 8.016 kB / 1.273 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-06/0.8383, allocations: 0 / 1.273 GB, free: 0.9258 MB / 0.9669 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 9.027e-05/0.8384, allocations: 117.9 kB / 1.273 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.8384, allocations: 4.328 kB / 1.273 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.499e-05/0.8384, allocations: 3.5 kB / 1.273 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.8384, allocations: 3.984 kB / 1.273 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.8384, allocations: 4 kB / 1.273 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.8384, allocations: 0 / 1.273 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.8385, allocations: 157.6 kB / 1.273 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8385, allocations: 0 / 1.273 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.8389, allocations: 51.92 kB / 1.273 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.8389, allocations: 0 / 1.273 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.8389, allocations: 0 / 1.273 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.8403, allocations: 1.42 MB / 1.274 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8403, allocations: 0 / 1.274 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.8404, allocations: 73.09 kB / 1.274 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.8405, allocations: 81.11 kB / 1.274 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.425e-06/0.8405, allocations: 3.938 kB / 1.274 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.06e-05/0.8405, allocations: 3.984 kB / 1.274 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.8405, allocations: 4.062 kB / 1.274 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.8405, allocations: 4 kB / 1.274 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.875e-05/0.8406, allocations: 75.28 kB / 1.274 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8406, allocations: 0 / 1.274 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000205/0.8408, allocations: 4 kB / 1.274 GB, free: 14.69 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.0004995/0.8413, allocations: 0.6168 MB / 1.275 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004613/0.8417, allocations: 63.84 kB / 1.275 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8417, allocations: 0 / 1.275 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.842, allocations: 43.95 kB / 1.275 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.8421, allocations: 6.172 kB / 1.275 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.8426, allocations: 126.5 kB / 1.275 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.8429, allocations: 0.6729 MB / 1.276 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.38e-05/0.8429, allocations: 8.266 kB / 1.276 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.843, allocations: 15.42 kB / 1.276 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.843, allocations: 0 / 1.276 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.8686, allocations: 1.311 MB / 1.277 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.78, allocations: 6.656 kB / 1.277 GB, free: 11.87 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 18.913649689871818]