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.001649/0.001649, allocations: 114.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.001991/0.001991, allocations: 192.1 kB / 22.17 MB, free: 5.652 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.515/1.515, 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.804/2.804, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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.001969/0.001969, allocations: 63.91 kB / 1.109 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9197/0.9216, allocations: 168.7 MB / 1.274 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.008021/0.9296, allocations: 4.53 MB / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004176/0.9338, allocations: 1.924 MB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003403/0.9342, allocations: 11.94 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.9361, allocations: 0.6308 MB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007802/0.9369, allocations: 258.6 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007472/0.9376, allocations: 251.4 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008847/0.9385, allocations: 0.6151 MB / 1.282 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000728/0.9392, allocations: 321.5 kB / 1.282 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004143/0.9397, allocations: 255.1 kB / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005389/0.9402, allocations: 275 kB / 1.283 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.339e-05/0.9403, allocations: 39.94 kB / 1.283 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005144/0.9408, allocations: 267.4 kB / 1.283 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.9409, allocations: 147.5 kB / 1.283 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.9412, allocations: 226.9 kB / 1.283 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008562/0.942, allocations: 0.611 MB / 1.284 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9421, allocations: 0 / 1.284 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9421, allocations: 0 / 1.284 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.9421, allocations: 0 / 1.284 GB, free: 10.23 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.001472/0.9435, allocations: 0.7363 MB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.9436, allocations: 11.97 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.9446, allocations: 148.5 kB / 1.285 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006026/0.9452, allocations: 350.6 kB / 1.285 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.9452, allocations: 25.36 kB / 1.285 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.759e-05/0.9453, allocations: 36.38 kB / 1.285 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008712/0.9462, allocations: 0.5395 MB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.9462, allocations: 0 / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/0.9462, allocations: 12 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.472e-05/0.9463, allocations: 32.64 kB / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007172/0.947, allocations: 386.3 kB / 1.286 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/0.9502, allocations: 2.392 MB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005807/0.9507, allocations: 250.4 kB / 1.289 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.9509, allocations: 99.39 kB / 1.289 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.951, allocations: 4 kB / 1.289 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.951, allocations: 34.55 kB / 1.289 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 2.094e-06/0.951, allocations: 4 kB / 1.289 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.002511/0.9535, allocations: 1.127 MB / 1.29 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.9536, allocations: 55.41 kB / 1.29 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.9539, allocations: 304.4 kB / 1.29 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.954, allocations: 37.7 kB / 1.29 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.9541, allocations: 232.1 kB / 1.291 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.93e-05/0.9542, allocations: 91.22 kB / 1.291 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.9543, allocations: 58.03 kB / 1.291 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.9545, allocations: 342.8 kB / 1.291 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.9547, allocations: 96.61 kB / 1.291 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.955, allocations: 199.7 kB / 1.291 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005321/0.9555, allocations: 311.5 kB / 1.292 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.9555, allocations: 4 kB / 1.292 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008609/0.9564, allocations: 442.2 kB / 1.292 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.9564, allocations: 8.031 kB / 1.292 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.9564, allocations: 4 kB / 1.292 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003833/0.9568, allocations: 94.44 kB / 1.292 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.9571, allocations: 59.91 kB / 1.292 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00442/0.9615, allocations: 4.403 MB / 1.297 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.9618, allocations: 8 kB / 1.297 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.9618, allocations: 12 kB / 1.297 GB, free: 12.31 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.0002618/0.9621, allocations: 179.8 kB / 1.297 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.168e-05/0.9622, allocations: 35.75 kB / 1.297 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.602e-05/0.9622, allocations: 42.31 kB / 1.297 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.9622, allocations: 8.094 kB / 1.297 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.9623, allocations: 7.984 kB / 1.297 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.9623, allocations: 3.984 kB / 1.297 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000542/0.9628, allocations: 393.4 kB / 1.297 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.9628, allocations: 3.984 kB / 1.297 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.963, allocations: 35.92 kB / 1.297 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003398/0.9634, allocations: 90.5 kB / 1.297 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.9634, allocations: 7.938 kB / 1.297 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004313/0.9677, allocations: 4.387 MB / 1.302 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.9677, allocations: 3.938 kB / 1.302 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009458/0.9686, allocations: 0.5549 MB / 1.302 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.9688, allocations: 124.9 kB / 1.302 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.9689, allocations: 4 kB / 1.302 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.9691, allocations: 15.98 kB / 1.302 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/0.9691, allocations: 23.78 kB / 1.302 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.9692, allocations: 4 kB / 1.302 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002741/0.9694, allocations: 219.1 kB / 1.303 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9694, allocations: 0 / 1.303 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005477/0.97, allocations: 95.94 kB / 1.303 GB, free: 5.566 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.0001712/0.9702, allocations: 103.2 kB / 1.303 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001034/0.9712, allocations: 0.5938 MB / 1.303 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.9712, allocations: 0 / 1.303 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005967/0.9718, allocations: 465.8 kB / 1.304 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005393/0.9723, allocations: 78.69 kB / 1.304 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.9738, allocations: 0.7407 MB / 1.305 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/0.9744, allocations: 0.8311 MB / 1.305 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001997/0.9746, allocations: 58.92 kB / 1.306 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.397e-05/0.9747, allocations: 23.44 kB / 1.306 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of SimCode: time 3.6e-07/0.9747, allocations: 0 / 1.306 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of Templates: time 0.01044/0.9851, allocations: 4.631 MB / 1.31 GB, free: 13.96 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 cvode -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.11606651963666]