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.0009388/0.0009388, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.000952/0.000952, allocations: 161 kB / 23.82 MB, free: 0.7539 MB / 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.9317/0.9317, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.647/1.647, allocations: 359 MB / 0.6052 GB, free: 11.02 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.243e-06/1.243e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/1.988e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001752/0.001772, allocations: 1.493 MB / 0.7886 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002379/0.00201, allocations: 92.34 kB / 0.7886 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.951e-05/0.002039, allocations: 8.781 kB / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.952e-05/0.002069, allocations: 0 / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.36e-05/0.002112, allocations: 4.688 kB / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.002312, allocations: 16.73 kB / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.62e-05/0.002378, allocations: 23.92 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.926e-05/0.002458, allocations: 8.547 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.895e-05/0.002506, allocations: 11.94 kB / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.252e-05/0.002539, allocations: 8.609 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.002556, allocations: 5.406 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.392e-05/0.00261, allocations: 15.98 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.002625, allocations: 7.984 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.002644, allocations: 11.92 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.002746, allocations: 32.88 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.165e-06/0.002748, allocations: 0 / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.52e-07/0.002749, allocations: 0 / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.002753, allocations: 1.25 kB / 0.7888 GB, free: 10.75 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.0003376/0.003091, allocations: 360.6 kB / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.003128, allocations: 12.03 kB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.003266, allocations: 10.36 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.502e-05/0.003341, allocations: 116.6 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.003352, allocations: 384 / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.003362, allocations: 8.359 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.003475, allocations: 52.11 kB / 0.7893 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.003483, allocations: 192 / 0.7893 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.003491, allocations: 1.312 kB / 0.7893 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.003498, allocations: 4.375 kB / 0.7893 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.716e-05/0.003535, allocations: 19.86 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.003824, allocations: 252.9 kB / 0.7896 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.196e-05/0.003886, allocations: 31.06 kB / 0.7896 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.003909, allocations: 17.27 kB / 0.7896 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.00392, allocations: 0 / 0.7896 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.003939, allocations: 41.39 kB / 0.7897 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.00394, allocations: 0 / 0.7897 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001404/0.00408, allocations: 42.86 kB / 0.7897 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.004108, allocations: 55.41 kB / 0.7898 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.308e-05/0.004181, allocations: 168.9 kB / 0.7899 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.004195, allocations: 25.7 kB / 0.79 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.004242, allocations: 142.8 kB / 0.7901 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.004257, allocations: 0 / 0.7901 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.004287, allocations: 27.36 kB / 0.7901 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.004389, allocations: 492.1 kB / 0.7906 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.875e-05/0.004408, allocations: 4 kB / 0.7906 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.004419, allocations: 0 / 0.7906 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.603e-05/0.004455, allocations: 24.34 kB / 0.7906 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004456, allocations: 1.656 kB / 0.7906 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.938e-05/0.004516, allocations: 41.64 kB / 0.7907 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.00453, allocations: 5.719 kB / 0.7907 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.004535, allocations: 3.938 kB / 0.7907 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.004548, allocations: 5.75 kB / 0.7907 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.089e-05/0.004619, allocations: 4 kB / 0.7907 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.004625, allocations: 3.984 kB / 0.7907 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.267e-05/0.004647, allocations: 7.938 kB / 0.7907 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.004652, allocations: 1.188 kB / 0.7907 GB, free: 8.613 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 5.935e-05/0.004711, allocations: 156.6 kB / 0.7908 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.004726, allocations: 5.562 kB / 0.7908 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.863e-05/0.004754, allocations: 7.562 kB / 0.7909 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.004756, allocations: 0 / 0.7909 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.00476, allocations: 3.984 kB / 0.7909 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.004762, allocations: 4 kB / 0.7909 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.939e-05/0.004852, allocations: 122.2 kB / 0.791 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.004853, allocations: 0 / 0.791 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.004877, allocations: 7.984 kB / 0.791 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.004879, allocations: 4 kB / 0.791 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.004886, allocations: 0.9062 kB / 0.791 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.004888, allocations: 3.938 kB / 0.791 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.004888, allocations: 0.5312 kB / 0.791 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.553e-05/0.004984, allocations: 192.6 kB / 0.7912 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-06/0.00499, allocations: 3.938 kB / 0.7912 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-06/0.004999, allocations: 0.5312 kB / 0.7912 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.486e-05/0.005034, allocations: 9.25 kB / 0.7912 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.005065, allocations: 7.984 kB / 0.7912 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.005067, allocations: 4 kB / 0.7912 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.529e-05/0.005103, allocations: 127.4 kB / 0.7913 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005103, allocations: 0.5312 kB / 0.7913 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001334/0.005236, allocations: 5.375 kB / 0.7913 GB, free: 7.906 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 6.28e-05/0.005299, allocations: 99.17 kB / 0.7914 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.09e-05/0.00538, allocations: 20.84 kB / 0.7914 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.005381, allocations: 0 / 0.7914 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.013e-05/0.005401, allocations: 12.81 kB / 0.7915 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.005566, allocations: 4 kB / 0.7915 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002428/0.005809, allocations: 136 kB / 0.7916 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.043e-05/0.005839, allocations: 55.36 kB / 0.7916 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.843e-05/0.005858, allocations: 9.266 kB / 0.7917 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.005885, allocations: 8.5 kB / 0.7917 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of SimCode: time 4.7e-07/0.005885, allocations: 0.875 kB / 0.7917 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of Templates: time 0.002075/0.00796, allocations: 0.7034 MB / 0.7924 GB, free: 6.832 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.5822492726147175]