Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00134/0.00134, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00145/0.00145, allocations: 219.2 kB / 23.01 MB, free: 5.121 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.321/3.321, allocations: 0.49 GB / 0.7958 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [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.002094/0.002094, allocations: 63 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.407, allocations: 176.1 MB / 1.327 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00198/0.409, allocations: 0.5945 MB / 1.328 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003371/0.4093, allocations: 92.17 kB / 1.328 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.4094, allocations: 0 / 1.328 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.167e-05/0.4094, allocations: 3.938 kB / 1.328 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.734e-05/0.4094, allocations: 0 / 1.328 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.4097, allocations: 23.98 kB / 1.328 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.045e-05/0.4098, allocations: 4 kB / 1.328 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.052e-05/0.4098, allocations: 0 / 1.328 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.763e-05/0.4098, allocations: 3.938 kB / 1.328 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.644e-05/0.4099, allocations: 23.91 kB / 1.328 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.4099, allocations: 0 / 1.328 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-05/0.41, allocations: 15.98 kB / 1.328 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.41, allocations: 0 / 1.328 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.41, allocations: 0 / 1.328 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.865e-05/0.4101, allocations: 15.92 kB / 1.328 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.4101, allocations: 4 kB / 1.328 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.424e-06/0.4101, allocations: 0 / 1.328 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.4101, allocations: 0 / 1.328 GB, free: 0.5859 MB / 1.014 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.0003917/0.4105, allocations: 248 kB / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.4106, allocations: 8.031 kB / 1.328 GB, free: 312 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.4107, allocations: 8.922 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.4108, allocations: 110.5 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.4109, allocations: 4.375 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.4109, allocations: 384 / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.411, allocations: 42.19 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.411, allocations: 192 / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.411, allocations: 7.938 kB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.411, allocations: 7.984 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.461e-05/0.4111, allocations: 15.92 kB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.4113, allocations: 124.8 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.4115, allocations: 42.59 kB / 1.329 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/0.4115, allocations: 8.922 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.4115, allocations: 4 kB / 1.329 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.4116, allocations: 34.56 kB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.4116, allocations: 0 / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002363/0.4118, allocations: 65.5 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.4119, allocations: 51.41 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.992e-05/0.4119, allocations: 89.86 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.4119, allocations: 25.7 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.412, allocations: 88.14 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.412, allocations: 11.94 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.4121, allocations: 17.7 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.4122, allocations: 310.8 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.606e-05/0.4123, allocations: 8 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.418e-05/0.4123, allocations: 7.984 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.917e-05/0.4124, allocations: 20.84 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4124, allocations: 7.938 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001208/0.4125, allocations: 45.69 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.4125, allocations: 5.719 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.4125, allocations: 4 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4125, allocations: 3.938 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/0.4129, allocations: 47.92 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.4144, allocations: 1.293 MB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.962e-05/0.4145, allocations: 3.938 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.4145, allocations: 3.984 kB / 1.331 GB, free: 13.53 MB / 1.029 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.0001018/0.4146, allocations: 122.7 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-06/0.4146, allocations: 0 / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.628e-05/0.4146, allocations: 7.516 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.4146, allocations: 0 / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.4146, allocations: 0 / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.4146, allocations: 0 / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.4147, allocations: 128.7 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4147, allocations: 0 / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.4151, allocations: 51.94 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.4151, allocations: 3.984 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.4151, allocations: 4 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.4165, allocations: 1.305 MB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4165, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.4166, allocations: 77.05 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-06/0.4166, allocations: 3.953 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.4167, allocations: 7.938 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.651e-05/0.4167, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.4167, allocations: 8.047 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.4167, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.213e-05/0.4168, allocations: 75.28 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4168, allocations: 4 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001936/0.417, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 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.0001529/0.4171, allocations: 103.2 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004954/0.4176, allocations: 59.91 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4176, allocations: 0 / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003945/0.418, allocations: 63.86 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.4182, allocations: 4 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.4186, allocations: 126.5 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.419, allocations: 0.6768 MB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.419, allocations: 7.438 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.419, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of Templates: time 0.002528/0.4215, allocations: 0.5933 MB / 1.334 GB, free: 9.859 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.657516431005206]