Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.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.00122/0.00122, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.001389/0.001389, allocations: 181 kB / 24.08 MB, free: 424 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.898/0.898, allocations: 177.2 MB / 204.5 MB, free: 5.504 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.709/1.709, allocations: 359 MB / 0.6055 GB, free: 10.86 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.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.691e-05, allocations: 9.266 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.003605/0.003632, allocations: 3.284 MB / 0.7907 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.005361, allocations: 1.253 MB / 0.792 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.005516, allocations: 15.88 kB / 0.792 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004841/0.006, allocations: 131.2 kB / 0.7921 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003413/0.006341, allocations: 238.7 kB / 0.7923 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.006645, allocations: 207.4 kB / 0.7925 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004683/0.007113, allocations: 0.6389 MB / 0.7932 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003977/0.007511, allocations: 331.2 kB / 0.7935 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.007791, allocations: 360.8 kB / 0.7938 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003422/0.008134, allocations: 247.3 kB / 0.7941 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.008178, allocations: 36 kB / 0.7941 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.008341, allocations: 108.5 kB / 0.7942 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.008447, allocations: 167.5 kB / 0.7944 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.008553, allocations: 156.3 kB / 0.7945 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.008921, allocations: 398.7 kB / 0.7949 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.008924, allocations: 5.469 kB / 0.7949 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.312e-06/0.008925, allocations: 0 / 0.7949 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.008931, allocations: 0 / 0.7949 GB, free: 4.68 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.000733/0.009664, allocations: 0.7437 MB / 0.7956 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.009702, allocations: 12.75 kB / 0.7956 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005362/0.01024, allocations: 190.5 kB / 0.7958 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.01052, allocations: 285.2 kB / 0.7961 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.01054, allocations: 25.36 kB / 0.7961 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.01058, allocations: 37.53 kB / 0.7961 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.01095, allocations: 0.5032 MB / 0.7966 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.01096, allocations: 4.188 kB / 0.7966 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.01098, allocations: 16.36 kB / 0.7967 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.529e-05/0.01102, allocations: 37.95 kB / 0.7967 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.01117, allocations: 126.1 kB / 0.7968 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.01248, allocations: 1.976 MB / 0.7987 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.01274, allocations: 179.8 kB / 0.7989 GB, free: 356 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.123e-05/0.01279, allocations: 53.2 kB / 0.799 GB, free: 300 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.0128, allocations: 4 kB / 0.799 GB, free: 296 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.01282, allocations: 37.39 kB / 0.799 GB, free: 248 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 2.074e-06/0.01283, allocations: 3.984 kB / 0.799 GB, free: 244 kB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.0009635/0.01379, allocations: 0.5958 MB / 0.7996 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.01381, allocations: 59.34 kB / 0.7996 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.01397, allocations: 316 kB / 0.7999 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.01399, allocations: 33.7 kB / 0.8 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.0141, allocations: 283.6 kB / 0.8002 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.01414, allocations: 83.31 kB / 0.8003 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/0.01421, allocations: 70.42 kB / 0.8004 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.01433, allocations: 0.5079 MB / 0.8009 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-05/0.01438, allocations: 36.62 kB / 0.8009 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.529e-05/0.01447, allocations: 161.6 kB / 0.8011 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.01463, allocations: 213.2 kB / 0.8013 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.01463, allocations: 4.938 kB / 0.8013 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003235/0.01495, allocations: 314.4 kB / 0.8016 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.01497, allocations: 8 kB / 0.8016 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.01498, allocations: 4.531 kB / 0.8016 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002798/0.01526, allocations: 119.9 kB / 0.8017 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.01539, allocations: 68.25 kB / 0.8018 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.01741, allocations: 5.218 MB / 0.8069 GB, free: 7.617 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.01751, allocations: 8 kB / 0.8069 GB, free: 7.609 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.01753, allocations: 8 kB / 0.8069 GB, free: 7.602 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.01764, allocations: 180.4 kB / 0.8071 GB, free: 7.414 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.01768, allocations: 43.75 kB / 0.8071 GB, free: 7.371 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.01771, allocations: 38.36 kB / 0.8071 GB, free: 7.336 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01771, allocations: 4 kB / 0.8071 GB, free: 7.332 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.01772, allocations: 0 / 0.8071 GB, free: 7.332 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01772, allocations: 3.984 kB / 0.8071 GB, free: 7.328 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.01793, allocations: 205.1 kB / 0.8073 GB, free: 7.102 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01793, allocations: 0 / 0.8073 GB, free: 7.102 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.106e-05/0.01802, allocations: 35.98 kB / 0.8074 GB, free: 7.066 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002428/0.01827, allocations: 118.9 kB / 0.8075 GB, free: 6.938 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.01828, allocations: 11.94 kB / 0.8075 GB, free: 6.926 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/0.02019, allocations: 5.227 MB / 0.8126 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02019, allocations: 0 / 0.8126 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.02054, allocations: 408.6 kB / 0.813 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.0206, allocations: 39.83 kB / 0.813 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.02062, allocations: 8 kB / 0.813 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-05/0.02071, allocations: 12.12 kB / 0.8131 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.02074, allocations: 23.77 kB / 0.8131 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.02075, allocations: 8 kB / 0.8131 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 9.14e-05/0.02085, allocations: 205.1 kB / 0.8133 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4e-08/0.02085, allocations: 0 / 0.8133 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003061/0.02115, allocations: 92 kB / 0.8134 GB, free: 0.5469 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001051/0.02126, allocations: 115.2 kB / 0.8135 GB, free: 436 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004667/0.02172, allocations: 0.6493 MB / 0.8141 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.02173, allocations: 4 kB / 0.8141 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.02198, allocations: 0.5832 MB / 0.8147 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.02229, allocations: 69.08 kB / 0.8148 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009588/0.02325, allocations: 0.654 MB / 0.8154 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.382e-05/0.02333, allocations: 128.6 kB / 0.8155 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.844e-05/0.02343, allocations: 30.98 kB / 0.8155 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.02358, allocations: 138.1 kB / 0.8157 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of SimCode: time 8.72e-07/0.02358, allocations: 0 / 0.8157 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of Templates: time 0.006811/0.03039, allocations: 4.683 MB / 0.8202 GB, free: 9.418 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_RCModel.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.848006201907992]