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.00144/0.00144, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001448/0.001448, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.629/1.629, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 3.017/3.017, allocations: 476.7 MB / 0.7678 GB, free: 9.332 MB / 0.6075 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.002015/0.002015, allocations: 75.89 kB / 1.113 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.102, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002342/1.104, allocations: 0.5921 MB / 1.28 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004067/1.105, allocations: 106 kB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.329e-05/1.105, allocations: 0 / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.143e-05/1.105, allocations: 1.094 kB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.902e-05/1.105, allocations: 0 / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/1.105, allocations: 18.11 kB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.244e-05/1.105, allocations: 4.391 kB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/1.105, allocations: 2.781 kB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.687e-05/1.105, allocations: 11.09 kB / 1.28 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.157e-05/1.105, allocations: 2.562 kB / 1.28 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/1.105, allocations: 5.062 kB / 1.28 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.326e-05/1.106, allocations: 18.14 kB / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/1.106, allocations: 1.469 kB / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.133e-05/1.106, allocations: 1.766 kB / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/1.106, allocations: 11.91 kB / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/1.106, allocations: 4.781 kB / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.964e-06/1.106, allocations: 3.938 kB / 1.28 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.653e-06/1.106, allocations: 0 / 1.28 GB, free: 11.26 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.0004639/1.106, allocations: 317.1 kB / 1.28 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/1.106, allocations: 10.16 kB / 1.28 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.295e-05/1.106, allocations: 9.781 kB / 1.28 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.126e-05/1.106, allocations: 30.75 kB / 1.28 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/1.106, allocations: 13.5 kB / 1.28 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/1.107, allocations: 166.9 kB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/1.107, allocations: 1.469 kB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/1.107, allocations: 1.469 kB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/1.107, allocations: 40.03 kB / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/1.107, allocations: 0 / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/1.107, allocations: 8 kB / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/1.107, allocations: 1.156 kB / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.631e-05/1.107, allocations: 11.45 kB / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/1.107, allocations: 155.2 kB / 1.28 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/1.107, allocations: 42.23 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/1.107, allocations: 15.25 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/1.107, allocations: 5.125 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/1.107, allocations: 39.61 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/1.107, allocations: 0 / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.000232/1.108, allocations: 52.61 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/1.108, allocations: 56.44 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.381e-05/1.108, allocations: 90.61 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/1.108, allocations: 25.7 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/1.108, allocations: 85.23 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/1.108, allocations: 17.52 kB / 1.281 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/1.108, allocations: 13.25 kB / 1.281 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.108, allocations: 312.8 kB / 1.281 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.745e-05/1.108, allocations: 10.14 kB / 1.281 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.372e-05/1.108, allocations: 5.75 kB / 1.281 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.419e-05/1.108, allocations: 25.09 kB / 1.281 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.108, allocations: 0 / 1.281 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001213/1.108, allocations: 47.47 kB / 1.281 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/1.108, allocations: 14.19 kB / 1.281 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/1.108, allocations: 0 / 1.281 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/1.108, allocations: 0.7188 kB / 1.281 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/1.109, allocations: 45.3 kB / 1.281 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/1.11, allocations: 1.403 MB / 1.283 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.972e-05/1.11, allocations: 5.859 kB / 1.283 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/1.11, allocations: 4.844 kB / 1.283 GB, free: 8.148 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 0.0001/1.11, allocations: 124.2 kB / 1.283 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/1.11, allocations: 6.125 kB / 1.283 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.291e-05/1.11, allocations: 3.5 kB / 1.283 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.11, allocations: 1.5 kB / 1.283 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/1.11, allocations: 0.75 kB / 1.283 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/1.11, allocations: 0 / 1.283 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/1.11, allocations: 156.6 kB / 1.283 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.11, allocations: 0 / 1.283 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003813/1.111, allocations: 49.36 kB / 1.283 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.111, allocations: 2.094 kB / 1.283 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/1.111, allocations: 1.094 kB / 1.283 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/1.112, allocations: 1.413 MB / 1.284 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.112, allocations: 0.7031 kB / 1.284 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/1.112, allocations: 73.23 kB / 1.284 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/1.112, allocations: 87.16 kB / 1.285 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.963e-06/1.112, allocations: 0.7031 kB / 1.285 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.822e-05/1.112, allocations: 5.688 kB / 1.285 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/1.112, allocations: 6.344 kB / 1.285 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/1.112, allocations: 1.922 kB / 1.285 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.522e-05/1.113, allocations: 79.22 kB / 1.285 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/1.113, allocations: 1.062 kB / 1.285 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002382/1.113, allocations: 3.312 kB / 1.285 GB, free: 6.102 MB / 0.9981 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.0005176/1.113, allocations: 0.6133 MB / 1.285 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005486/1.114, allocations: 58.3 kB / 1.285 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.114, allocations: 7.938 kB / 1.285 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003539/1.114, allocations: 34.84 kB / 1.285 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/1.114, allocations: 8.281 kB / 1.285 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006834/1.115, allocations: 128.1 kB / 1.286 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/1.115, allocations: 0.6745 MB / 1.286 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.385e-05/1.116, allocations: 5.688 kB / 1.286 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/1.116, allocations: 14.69 kB / 1.286 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/1.116, allocations: 0 / 1.286 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/1.142, allocations: 1.34 MB / 1.287 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.51, allocations: 13.17 kB / 1.288 GB, free: 4.219 MB / 0.9981 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 & /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.236221034021582]