Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.0009719/0.0009719, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 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.0009818/0.0009818, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 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 0.9565/0.9565, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.835/1.835, allocations: 359 MB / 0.6055 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.7876 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.519e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001966/0.001991, allocations: 1.49 MB / 0.789 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002273/0.002219, allocations: 97.12 kB / 0.7891 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.619e-05/0.002255, allocations: 0 / 0.7891 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.00228, allocations: 4.734 kB / 0.7891 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.625e-05/0.002337, allocations: 3.938 kB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.002521, allocations: 17.23 kB / 0.7891 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.811e-05/0.00258, allocations: 23.92 kB / 0.7892 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.542e-05/0.002655, allocations: 4 kB / 0.7892 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.7e-05/0.002712, allocations: 17.55 kB / 0.7892 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.291e-05/0.002745, allocations: 11.98 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.002757, allocations: 0 / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.465e-05/0.002812, allocations: 15.98 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.002827, allocations: 9.203 kB / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.441e-05/0.002842, allocations: 3.938 kB / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.631e-05/0.002938, allocations: 31.91 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.00294, allocations: 4 kB / 0.7892 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002941, allocations: 0.625 kB / 0.7892 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.002945, allocations: 1.406 kB / 0.7893 GB, free: 10.49 MB / 0.7448 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.0003135/0.003258, allocations: 364.6 kB / 0.7896 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.003297, allocations: 8.031 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.003412, allocations: 13.77 kB / 0.7896 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.788e-05/0.00348, allocations: 120.5 kB / 0.7897 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.003489, allocations: 0.9375 kB / 0.7897 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.451e-06/0.003494, allocations: 384 / 0.7897 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.266e-05/0.003587, allocations: 63.61 kB / 0.7898 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.003594, allocations: 1.094 kB / 0.7898 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.0036, allocations: 384 / 0.7898 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.003604, allocations: 384 / 0.7898 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.306e-05/0.003627, allocations: 8.594 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.003862, allocations: 242.1 kB / 0.79 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.115e-05/0.003913, allocations: 42.92 kB / 0.7901 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.411e-05/0.003927, allocations: 7.688 kB / 0.7901 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.003941, allocations: 0 / 0.7901 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.00396, allocations: 39.05 kB / 0.7901 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.003961, allocations: 0 / 0.7901 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001125/0.004074, allocations: 45.58 kB / 0.7902 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.004101, allocations: 52.38 kB / 0.7902 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.819e-05/0.004169, allocations: 169.9 kB / 0.7904 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.004179, allocations: 25.7 kB / 0.7904 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.004231, allocations: 138.1 kB / 0.7905 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.004249, allocations: 7.984 kB / 0.7905 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.004274, allocations: 15.38 kB / 0.7906 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.004395, allocations: 0.4884 MB / 0.791 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.004408, allocations: 0 / 0.791 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.115e-05/0.004419, allocations: 4 kB / 0.791 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.786e-05/0.004447, allocations: 15.67 kB / 0.7911 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.004449, allocations: 0 / 0.7911 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.029e-05/0.004509, allocations: 46.31 kB / 0.7911 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.004522, allocations: 8.531 kB / 0.7911 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.004526, allocations: 1.094 kB / 0.7911 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.004542, allocations: 3.938 kB / 0.7911 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.717e-05/0.004599, allocations: 7.984 kB / 0.7911 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.004602, allocations: 0.5938 kB / 0.7911 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.035e-05/0.004622, allocations: 8.469 kB / 0.7911 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.004626, allocations: 0 / 0.7911 GB, free: 8.383 MB / 0.7448 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.076e-05/0.004687, allocations: 158 kB / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.004699, allocations: 0 / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.004725, allocations: 7.609 kB / 0.7913 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.004729, allocations: 9.094 kB / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.004731, allocations: 0 / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.004733, allocations: 0 / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.063e-05/0.004823, allocations: 98.2 kB / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.004825, allocations: 0 / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.405e-05/0.004849, allocations: 13.55 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.004851, allocations: 0 / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.004855, allocations: 0 / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.004855, allocations: 3.938 kB / 0.7914 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.004856, allocations: 0 / 0.7914 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.004961, allocations: 201.1 kB / 0.7916 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-06/0.004966, allocations: 0 / 0.7916 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-06/0.004975, allocations: 4 kB / 0.7916 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.184e-05/0.005007, allocations: 7.438 kB / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.005034, allocations: 3.984 kB / 0.7916 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.005039, allocations: 7.938 kB / 0.7916 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.378e-05/0.005083, allocations: 127.4 kB / 0.7917 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005083, allocations: 0 / 0.7917 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001437/0.005227, allocations: 4 kB / 0.7917 GB, free: 7.707 MB / 0.7448 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.146e-05/0.005308, allocations: 91.25 kB / 0.7918 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.678e-05/0.005375, allocations: 24.3 kB / 0.7919 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.005376, allocations: 0.5 kB / 0.7919 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.808e-05/0.005394, allocations: 12.25 kB / 0.7919 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.005557, allocations: 12.56 kB / 0.7919 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002165/0.005773, allocations: 127.7 kB / 0.792 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.092e-05/0.005804, allocations: 55.3 kB / 0.7921 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.731e-05/0.005821, allocations: 6.156 kB / 0.7921 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.005868, allocations: 70.19 kB / 0.7921 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.005869, allocations: 0 / 0.7921 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of Templates: time 0.002064/0.007933, allocations: 0.7169 MB / 0.7928 GB, free: 6.562 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.872532315086573]