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.001699/0.001699, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002228/0.002228, allocations: 221.2 kB / 23.03 MB, free: 4.941 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.872/2.872, allocations: 476.8 MB / 0.7715 GB, free: 3.918 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="cs",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.002062/0.002062, allocations: 66.97 kB / 1.118 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3366, allocations: 169.9 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002161/0.3388, allocations: 0.605 MB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003476/0.3391, allocations: 83.75 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.018e-05/0.3392, allocations: 4 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/0.3392, allocations: 4 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.01e-05/0.3392, allocations: 0 / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.3395, allocations: 7.984 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.042e-05/0.3395, allocations: 15.92 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.3396, allocations: 4 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.902e-05/0.3396, allocations: 0 / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.743e-05/0.3397, allocations: 7.984 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.3397, allocations: 0 / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.569e-05/0.3398, allocations: 19.98 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.3398, allocations: 7.875 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.3398, allocations: 4 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.3399, allocations: 17.38 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3399, allocations: 4 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.532e-06/0.3399, allocations: 0 / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3399, allocations: 0 / 1.285 GB, free: 9.91 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.0003855/0.3403, allocations: 238 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.3404, allocations: 12.03 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.134e-05/0.3404, allocations: 192 / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.398e-05/0.3404, allocations: 34.73 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.3406, allocations: 12.92 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.158e-05/0.3407, allocations: 110.6 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.3407, allocations: 384 / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.3407, allocations: 4.312 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.3409, allocations: 53.92 kB / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3409, allocations: 0 / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.3409, allocations: 0 / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3409, allocations: 0 / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.936e-05/0.341, allocations: 15.98 kB / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.3412, allocations: 124.8 kB / 1.285 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.3414, allocations: 42.56 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.027e-05/0.3414, allocations: 12.91 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.3414, allocations: 3.938 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.3415, allocations: 38.5 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.3415, allocations: 0 / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002362/0.3417, allocations: 57.67 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.3417, allocations: 51.41 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.356e-05/0.3418, allocations: 93.86 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.3418, allocations: 25.7 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.3418, allocations: 80.14 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.3419, allocations: 15.89 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.3419, allocations: 13.72 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3421, allocations: 314.8 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.493e-05/0.3421, allocations: 7.984 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.623e-05/0.3421, allocations: 11.94 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.573e-05/0.3422, allocations: 20.84 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3422, allocations: 0 / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001275/0.3424, allocations: 57.67 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3424, allocations: 9.969 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3424, allocations: 4 kB / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3424, allocations: 0 / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.3428, allocations: 39.94 kB / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.3444, allocations: 1.305 MB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.364e-05/0.3444, allocations: 8.188 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.3444, allocations: 0 / 1.288 GB, free: 6.82 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 0.0001298/0.3445, allocations: 109.8 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.3445, allocations: 4 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.3446, allocations: 7.531 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3446, allocations: 0 / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.3446, allocations: 3.938 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3446, allocations: 0 / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.3447, allocations: 124.7 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3447, allocations: 0 / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.3451, allocations: 59.86 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3451, allocations: 0 / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.3451, allocations: 0 / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/0.3465, allocations: 1.301 MB / 1.289 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.3465, allocations: 3.938 kB / 1.289 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.3466, allocations: 73.14 kB / 1.289 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-06/0.3466, allocations: 8.094 kB / 1.289 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.224e-06/0.3466, allocations: 0 / 1.289 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.016e-05/0.3467, allocations: 4 kB / 1.289 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.3467, allocations: 7.984 kB / 1.289 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.3467, allocations: 0 / 1.289 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.739e-05/0.3467, allocations: 75.28 kB / 1.289 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3467, allocations: 0 / 1.289 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002077/0.3469, allocations: 4 kB / 1.289 GB, free: 4.859 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.0005303/0.3475, allocations: 0.6201 MB / 1.29 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004784/0.348, allocations: 60 kB / 1.29 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.348, allocations: 0 / 1.29 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.3482, allocations: 39.95 kB / 1.29 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.3484, allocations: 3.938 kB / 1.29 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005326/0.3489, allocations: 122.5 kB / 1.29 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.359e-05/0.349, allocations: 59.3 kB / 1.29 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.056e-05/0.349, allocations: 0 / 1.29 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.349, allocations: 19.42 kB / 1.29 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.349, allocations: 4 kB / 1.29 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.3713, allocations: 1.434 MB / 1.292 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.31, allocations: 4.062 kB / 1.292 GB, free: 2.566 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/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.393736367928796]