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.001389/0.001389, allocations: 80.44 kB / 19.18 MB, free: 2.527 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.001523/0.001523, allocations: 169.2 kB / 22.46 MB, free: 5.359 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.449/1.449, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.933/2.933, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.9815 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.54e-05/3.739e-05, allocations: 5.375 kB / 0.9815 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002514/0.002551, allocations: 0.5995 MB / 0.9821 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004129/0.002964, allocations: 91.67 kB / 0.9822 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.902e-05/0.002983, allocations: 0 / 0.9822 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.895e-05/0.003002, allocations: 0 / 0.9822 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.992e-05/0.003052, allocations: 0 / 0.9822 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.003369, allocations: 15.92 kB / 0.9822 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.037e-05/0.003439, allocations: 7.938 kB / 0.9822 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.885e-05/0.003498, allocations: 4 kB / 0.9822 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.878e-05/0.003537, allocations: 7.984 kB / 0.9822 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.556e-05/0.003632, allocations: 7.984 kB / 0.9822 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.003651, allocations: 3.938 kB / 0.9822 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.003754, allocations: 15.98 kB / 0.9822 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.00377, allocations: 0 / 0.9822 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.00379, allocations: 0 / 0.9822 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.003906, allocations: 23.91 kB / 0.9822 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.003909, allocations: 0 / 0.9822 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.91e-07/0.00391, allocations: 0 / 0.9822 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.003919, allocations: 0 / 0.9822 GB, free: 11.14 MB / 0.9356 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.0005584/0.004478, allocations: 254.4 kB / 0.9825 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.004523, allocations: 8.031 kB / 0.9825 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002287/0.004751, allocations: 8.922 kB / 0.9825 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.004875, allocations: 109.7 kB / 0.9826 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.004902, allocations: 8.297 kB / 0.9826 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.004916, allocations: 384 / 0.9826 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.005102, allocations: 38.25 kB / 0.9826 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.005113, allocations: 4.188 kB / 0.9827 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.005125, allocations: 384 / 0.9827 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.00513, allocations: 384 / 0.9827 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.005256, allocations: 19.92 kB / 0.9827 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.005467, allocations: 97.33 kB / 0.9828 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.005743, allocations: 46.53 kB / 0.9828 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.572e-05/0.005829, allocations: 12.92 kB / 0.9828 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.005843, allocations: 0 / 0.9828 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.005878, allocations: 34.55 kB / 0.9829 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 2.154e-06/0.005881, allocations: 4 kB / 0.9829 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0003294/0.00621, allocations: 49.69 kB / 0.9829 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/0.006274, allocations: 59.34 kB / 0.983 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.726e-05/0.006342, allocations: 93.84 kB / 0.9831 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/0.006381, allocations: 29.7 kB / 0.9831 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.006433, allocations: 80.14 kB / 0.9832 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.006483, allocations: 7.938 kB / 0.9832 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.006536, allocations: 13.72 kB / 0.9832 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002178/0.006754, allocations: 318.8 kB / 0.9835 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.423e-05/0.006828, allocations: 7.984 kB / 0.9835 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.604e-05/0.006884, allocations: 4 kB / 0.9835 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.007035, allocations: 28.84 kB / 0.9835 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.007041, allocations: 4 kB / 0.9835 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002017/0.007242, allocations: 49.64 kB / 0.9836 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.007265, allocations: 10.33 kB / 0.9836 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.007271, allocations: 0 / 0.9836 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.007289, allocations: 3.938 kB / 0.9836 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006351/0.007924, allocations: 43.94 kB / 0.9836 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.01004, allocations: 1.282 MB / 0.9849 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.412e-05/0.0101, allocations: 7.938 kB / 0.9849 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.0101, allocations: 32 / 0.9849 GB, free: 8.16 MB / 0.9356 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.0001148/0.01022, allocations: 113.8 kB / 0.985 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.01023, allocations: 3.938 kB / 0.985 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.01026, allocations: 7.531 kB / 0.985 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.01026, allocations: 7.938 kB / 0.985 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.01026, allocations: 0 / 0.985 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01027, allocations: 4.094 kB / 0.985 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.01039, allocations: 93.33 kB / 0.9851 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.0104, allocations: 7.984 kB / 0.9851 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006024/0.011, allocations: 39.94 kB / 0.9852 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.011, allocations: 4 kB / 0.9852 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.01102, allocations: 11.94 kB / 0.9852 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/0.01328, allocations: 1.278 MB / 0.9864 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01328, allocations: 0 / 0.9864 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.01348, allocations: 73.09 kB / 0.9865 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.01349, allocations: 11.98 kB / 0.9865 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.01351, allocations: 4 kB / 0.9865 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.022e-05/0.01355, allocations: 0 / 0.9865 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.01358, allocations: 0 / 0.9865 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.01359, allocations: 4 kB / 0.9865 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.302e-05/0.01365, allocations: 75.28 kB / 0.9866 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.01365, allocations: 3.938 kB / 0.9866 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003681/0.01402, allocations: 4 kB / 0.9866 GB, free: 6.262 MB / 0.9356 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.0002027/0.01422, allocations: 99.83 kB / 0.9867 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000759/0.01498, allocations: 63.95 kB / 0.9867 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.01498, allocations: 4 kB / 0.9867 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003914/0.01538, allocations: 39.95 kB / 0.9868 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.01561, allocations: 11.88 kB / 0.9868 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.01605, allocations: 92.84 kB / 0.9869 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.379e-05/0.01613, allocations: 59.34 kB / 0.9869 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.227e-05/0.01618, allocations: 4 kB / 0.9869 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.01622, allocations: 12.5 kB / 0.987 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.01622, allocations: 0 / 0.987 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of Templates: time 0.004388/0.02061, allocations: 452.8 kB / 0.9874 GB, free: 5.395 MB / 0.9356 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/jenkins/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: 7.955462004989386]