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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.858/2.858, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002023/0.002023, allocations: 67.89 kB / 1.109 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8513/0.8533, allocations: 168.7 MB / 1.274 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006689/0.86, allocations: 4.516 MB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003572/0.8636, allocations: 1.924 MB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002482/0.8638, allocations: 15.94 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.8657, allocations: 0.6221 MB / 1.281 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007978/0.8665, allocations: 262.6 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000761/0.8672, allocations: 251.3 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008562/0.8681, allocations: 0.615 MB / 1.282 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006816/0.8688, allocations: 333.5 kB / 1.282 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003504/0.8691, allocations: 247.2 kB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005315/0.8696, allocations: 286.9 kB / 1.283 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.718e-05/0.8697, allocations: 36 kB / 1.283 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005267/0.8702, allocations: 259.5 kB / 1.283 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.8704, allocations: 155.5 kB / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.8706, allocations: 215 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000916/0.8716, allocations: 0.611 MB / 1.284 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8716, allocations: 0 / 1.284 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8716, allocations: 4 kB / 1.284 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.8716, allocations: 0 / 1.284 GB, free: 10.24 MB / 0.9825 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.001455/0.873, allocations: 0.7323 MB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.8731, allocations: 8.031 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009973/0.8741, allocations: 148.5 kB / 1.285 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/0.8746, allocations: 350.6 kB / 1.285 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.8747, allocations: 33.31 kB / 1.285 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.387e-05/0.8747, allocations: 32.38 kB / 1.285 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008529/0.8756, allocations: 0.5278 MB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.8756, allocations: 4 kB / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.215e-05/0.8757, allocations: 16 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.367e-05/0.8757, allocations: 32.62 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006363/0.8764, allocations: 386.3 kB / 1.286 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003056/0.8794, allocations: 2.388 MB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000591/0.88, allocations: 254.4 kB / 1.289 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.8802, allocations: 104.8 kB / 1.289 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.8802, allocations: 3.984 kB / 1.289 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.8802, allocations: 34.56 kB / 1.289 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 2.064e-06/0.8802, allocations: 0 / 1.289 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.00245/0.8827, allocations: 1.129 MB / 1.29 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.8827, allocations: 51.41 kB / 1.29 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003692/0.8831, allocations: 304.4 kB / 1.29 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.8831, allocations: 33.7 kB / 1.29 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.8833, allocations: 236.1 kB / 1.291 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.486e-05/0.8834, allocations: 91.16 kB / 1.291 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.8836, allocations: 62.03 kB / 1.291 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.8837, allocations: 338.8 kB / 1.291 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.8839, allocations: 104.6 kB / 1.291 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.8842, allocations: 195.7 kB / 1.291 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.8846, allocations: 309.4 kB / 1.292 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.8846, allocations: 4 kB / 1.292 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008454/0.8854, allocations: 446 kB / 1.292 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.8855, allocations: 4 kB / 1.292 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.8855, allocations: 4 kB / 1.292 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003932/0.8859, allocations: 102.6 kB / 1.292 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.8862, allocations: 59.91 kB / 1.292 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003941/0.8901, allocations: 4.403 MB / 1.297 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.8904, allocations: 8 kB / 1.297 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.8904, allocations: 8 kB / 1.297 GB, free: 12.33 MB / 0.9981 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.0002586/0.8907, allocations: 186.4 kB / 1.297 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.236e-05/0.8908, allocations: 35.75 kB / 1.297 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.612e-05/0.8908, allocations: 42.45 kB / 1.297 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.8909, allocations: 3.984 kB / 1.297 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.8909, allocations: 4 kB / 1.297 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.8909, allocations: 0 / 1.297 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005191/0.8914, allocations: 397.4 kB / 1.297 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.8914, allocations: 0 / 1.297 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.8916, allocations: 43.84 kB / 1.297 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003239/0.8919, allocations: 94.44 kB / 1.297 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.8919, allocations: 4 kB / 1.297 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003559/0.8955, allocations: 4.379 MB / 1.302 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8955, allocations: 4.156 kB / 1.302 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008707/0.8964, allocations: 0.5508 MB / 1.302 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.8965, allocations: 128.9 kB / 1.302 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.8966, allocations: 8 kB / 1.302 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.8968, allocations: 12.06 kB / 1.302 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.8968, allocations: 23.83 kB / 1.302 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.8969, allocations: 8 kB / 1.302 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002333/0.8971, allocations: 211.1 kB / 1.303 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8971, allocations: 0 / 1.303 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000476/0.8976, allocations: 99.94 kB / 1.303 GB, free: 5.586 MB / 0.9981 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.000144/0.8977, allocations: 103.2 kB / 1.303 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008869/0.8986, allocations: 0.5863 MB / 1.303 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.8986, allocations: 8.062 kB / 1.303 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000552/0.8992, allocations: 466.1 kB / 1.304 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004986/0.8997, allocations: 94.98 kB / 1.304 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.9009, allocations: 0.7352 MB / 1.305 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006009/0.9015, allocations: 0.8272 MB / 1.305 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001793/0.9017, allocations: 58.94 kB / 1.306 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.315e-05/0.9017, allocations: 23.44 kB / 1.306 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.9017, allocations: 0 / 1.306 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of Templates: time 0.01046/0.9122, allocations: 4.634 MB / 1.31 GB, free: 13.98 MB / 1.014 GB " [Timeout remaining time 299] 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.109950763173401]