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.002543/0.002543, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002894/0.002894, allocations: 161.3 kB / 23.56 MB, free: 0.8633 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 1.567/1.567, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 2.914/2.914, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 176] 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.623e-06/1.623e-06, allocations: 0 / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.44e-05/3.603e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.00737/0.007406, allocations: 4.422 MB / 0.7907 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003802/0.01121, allocations: 1.888 MB / 0.7925 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002128/0.01142, allocations: 17.28 kB / 0.7925 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.01334, allocations: 0.5975 MB / 0.7931 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0007117/0.01405, allocations: 278.5 kB / 0.7934 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007191/0.01477, allocations: 267.2 kB / 0.7936 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008192/0.01559, allocations: 0.6149 MB / 0.7942 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00068/0.01627, allocations: 351.8 kB / 0.7946 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005108/0.01678, allocations: 360.8 kB / 0.7949 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005418/0.01732, allocations: 239.4 kB / 0.7951 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.165e-05/0.0174, allocations: 36 kB / 0.7952 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004965/0.0179, allocations: 243.2 kB / 0.7954 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.01809, allocations: 165.3 kB / 0.7956 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.01833, allocations: 151.7 kB / 0.7957 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009296/0.01926, allocations: 0.6308 MB / 0.7963 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.01926, allocations: 0 / 0.7963 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.292e-06/0.01926, allocations: 4 kB / 0.7963 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.01927, allocations: 1.156 kB / 0.7963 GB, free: 2.602 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.001484/0.02075, allocations: 0.7835 MB / 0.7971 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.02079, allocations: 8.031 kB / 0.7971 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.02192, allocations: 217 kB / 0.7973 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005773/0.0225, allocations: 290.5 kB / 0.7976 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/0.02254, allocations: 29.36 kB / 0.7976 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.146e-05/0.02261, allocations: 32.38 kB / 0.7977 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.02363, allocations: 0.5696 MB / 0.7982 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.02365, allocations: 0.7188 kB / 0.7982 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.464e-05/0.02369, allocations: 17.75 kB / 0.7982 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.064e-05/0.02375, allocations: 36.52 kB / 0.7983 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004497/0.0242, allocations: 194.4 kB / 0.7984 GB, free: 316 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002942/0.02714, allocations: 2.129 MB / 0.8005 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005129/0.02766, allocations: 187.5 kB / 0.8007 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.02779, allocations: 59.66 kB / 0.8008 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.02781, allocations: 4 kB / 0.8008 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.02785, allocations: 42.08 kB / 0.8008 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/0.02785, allocations: 0 / 0.8008 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.002107/0.02996, allocations: 0.7197 MB / 0.8015 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.03, allocations: 51.41 kB / 0.8016 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.03042, allocations: 364.2 kB / 0.8019 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.03045, allocations: 30.33 kB / 0.8019 GB, free: 12.56 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.03068, allocations: 294.8 kB / 0.8022 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.629e-05/0.03077, allocations: 95.77 kB / 0.8023 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.0309, allocations: 73.42 kB / 0.8024 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003005/0.0312, allocations: 0.5235 MB / 0.8029 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.03135, allocations: 60.62 kB / 0.8029 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.03161, allocations: 185.7 kB / 0.8031 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.03203, allocations: 269.9 kB / 0.8034 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.03203, allocations: 3.938 kB / 0.8034 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007824/0.03281, allocations: 365.1 kB / 0.8037 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.03283, allocations: 8.938 kB / 0.8037 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.03284, allocations: 11.97 kB / 0.8038 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006875/0.03353, allocations: 128.7 kB / 0.8039 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.03382, allocations: 63.91 kB / 0.8039 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004781/0.03861, allocations: 5.364 MB / 0.8092 GB, free: 4.633 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.03884, allocations: 12 kB / 0.8092 GB, free: 4.621 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.03886, allocations: 8 kB / 0.8092 GB, free: 4.613 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.0002147/0.03908, allocations: 192.6 kB / 0.8094 GB, free: 4.414 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-05/0.03916, allocations: 43.8 kB / 0.8094 GB, free: 4.371 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.872e-05/0.03926, allocations: 30.28 kB / 0.8094 GB, free: 4.344 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.03926, allocations: 4 kB / 0.8095 GB, free: 4.34 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.03927, allocations: 3.984 kB / 0.8095 GB, free: 4.336 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.03928, allocations: 0 / 0.8095 GB, free: 4.336 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004638/0.03974, allocations: 308.5 kB / 0.8097 GB, free: 4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.03974, allocations: 0 / 0.8097 GB, free: 4 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.03995, allocations: 35.97 kB / 0.8098 GB, free: 3.965 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006072/0.04055, allocations: 134.9 kB / 0.8099 GB, free: 3.82 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.04058, allocations: 8 kB / 0.8099 GB, free: 3.812 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004664/0.04524, allocations: 5.362 MB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-06/0.04525, allocations: 3.938 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008046/0.04605, allocations: 474.2 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.04619, allocations: 39.88 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.04624, allocations: 11.98 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.04644, allocations: 8 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.04649, allocations: 19.97 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.04651, allocations: 4 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002511/0.04676, allocations: 241.1 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.4e-07/0.04676, allocations: 0 / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004996/0.04726, allocations: 95.94 kB / 0.816 GB, free: 13.18 MB / 0.7761 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.0001516/0.04741, allocations: 115.2 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.04842, allocations: 0.6968 MB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.04842, allocations: 4.188 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006627/0.04909, allocations: 0.6026 MB / 0.8174 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.04958, allocations: 65.52 kB / 0.8175 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.05082, allocations: 0.6529 MB / 0.8181 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.0511, allocations: 223.8 kB / 0.8183 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001694/0.05127, allocations: 46.92 kB / 0.8184 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.634e-05/0.05134, allocations: 24.5 kB / 0.8184 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.05134, allocations: 4 kB / 0.8184 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of Templates: time 0.01078/0.06212, allocations: 4.407 MB / 0.8227 GB, free: 6.27 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.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: 8.302348317927681]