Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001864/0.001864, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.002458/0.002458, allocations: 222.9 kB / 23 MB, free: 4.91 MB / 14.72 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.676/1.676, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.307/3.307, allocations: 0.4892 GB / 0.7951 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Electrical.DC.Lines.Examples.RCModel") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 68.67 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3657, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006951/0.3726, allocations: 4.27 MB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003598/0.3762, allocations: 1.831 MB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002871/0.3765, allocations: 15.88 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.3784, allocations: 0.5901 MB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007103/0.3791, allocations: 274.6 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007312/0.3798, allocations: 255.4 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008121/0.3806, allocations: 0.6073 MB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000643/0.3813, allocations: 343.1 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.3816, allocations: 255.1 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005381/0.3822, allocations: 270.9 kB / 1.335 GB, free: 9.145 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.677e-05/0.3822, allocations: 36 kB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004664/0.3827, allocations: 235.5 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.3829, allocations: 155.5 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.3831, allocations: 179.2 kB / 1.335 GB, free: 8.551 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008079/0.3839, allocations: 0.6188 MB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3839, allocations: 0 / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3839, allocations: 3.938 kB / 1.336 GB, free: 7.926 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.3839, allocations: 0 / 1.336 GB, free: 7.926 MB / 1.029 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.001365/0.3853, allocations: 0.6571 MB / 1.337 GB, free: 7.238 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3853, allocations: 12.03 kB / 1.337 GB, free: 7.227 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009911/0.3863, allocations: 148.5 kB / 1.337 GB, free: 7.082 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005658/0.3869, allocations: 284.8 kB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/0.3869, allocations: 29.31 kB / 1.337 GB, free: 6.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.067e-05/0.387, allocations: 32.38 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009862/0.388, allocations: 0.6862 MB / 1.338 GB, free: 5.957 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.388, allocations: 0 / 1.338 GB, free: 5.957 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.966e-05/0.388, allocations: 12 kB / 1.338 GB, free: 5.945 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.652e-05/0.3881, allocations: 32.64 kB / 1.338 GB, free: 5.914 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006468/0.3887, allocations: 386.3 kB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002585/0.3913, allocations: 1.668 MB / 1.34 GB, free: 3.801 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005882/0.3919, allocations: 246.4 kB / 1.34 GB, free: 3.551 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.3921, allocations: 101.2 kB / 1.34 GB, free: 3.449 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.3921, allocations: 3.953 kB / 1.34 GB, free: 3.445 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.3921, allocations: 38.56 kB / 1.34 GB, free: 3.398 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 2.865e-06/0.3921, allocations: 0 / 1.34 GB, free: 3.398 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.00235/0.3945, allocations: 0.8981 MB / 1.341 GB, free: 2.461 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.3945, allocations: 51.41 kB / 1.341 GB, free: 2.398 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.3949, allocations: 273.8 kB / 1.341 GB, free: 2.121 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.3949, allocations: 33.7 kB / 1.341 GB, free: 2.082 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.3951, allocations: 240 kB / 1.342 GB, free: 1.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.979e-05/0.3952, allocations: 87.25 kB / 1.342 GB, free: 1.754 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.3953, allocations: 61.98 kB / 1.342 GB, free: 1.684 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.3955, allocations: 342.8 kB / 1.342 GB, free: 1.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.3957, allocations: 104.6 kB / 1.342 GB, free: 1.238 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.3959, allocations: 187.7 kB / 1.342 GB, free: 1.016 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.3964, allocations: 316.4 kB / 1.343 GB, free: 0.6719 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3964, allocations: 0 / 1.343 GB, free: 0.6719 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008414/0.3972, allocations: 438 kB / 1.343 GB, free: 236 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3972, allocations: 8 kB / 1.343 GB, free: 228 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.3973, allocations: 0 / 1.343 GB, free: 228 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004055/0.3977, allocations: 102.7 kB / 1.343 GB, free: 116 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.398, allocations: 67.89 kB / 1.343 GB, free: 48 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003935/0.4019, allocations: 4.009 MB / 1.347 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.4022, allocations: 11.98 kB / 1.347 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.4022, allocations: 12 kB / 1.347 GB, free: 11.7 MB / 1.045 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.0002606/0.4024, allocations: 186.6 kB / 1.347 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.4025, allocations: 27.81 kB / 1.347 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.034e-05/0.4026, allocations: 42.2 kB / 1.347 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4026, allocations: 0 / 1.347 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.4026, allocations: 11.88 kB / 1.347 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4026, allocations: 0 / 1.347 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.403, allocations: 285.2 kB / 1.348 GB, free: 11.12 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.403, allocations: 0 / 1.348 GB, free: 11.12 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.4032, allocations: 31.98 kB / 1.348 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003306/0.4036, allocations: 98.44 kB / 1.348 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.4036, allocations: 4 kB / 1.348 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003702/0.4073, allocations: 4 MB / 1.352 GB, free: 6.676 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4073, allocations: 0 / 1.352 GB, free: 6.676 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000964/0.4083, allocations: 0.5585 MB / 1.352 GB, free: 6.094 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.4084, allocations: 51.75 kB / 1.352 GB, free: 6.043 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.4084, allocations: 4 kB / 1.352 GB, free: 6.039 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.4087, allocations: 12 kB / 1.352 GB, free: 6.027 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.4087, allocations: 19.77 kB / 1.352 GB, free: 6.008 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.4087, allocations: 8 kB / 1.352 GB, free: 6 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002289/0.409, allocations: 189.2 kB / 1.353 GB, free: 5.816 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.409, allocations: 0 / 1.353 GB, free: 5.816 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005277/0.4095, allocations: 96 kB / 1.353 GB, free: 5.723 MB / 1.045 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.0001497/0.4097, allocations: 111.3 kB / 1.353 GB, free: 5.602 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009835/0.4106, allocations: 0.5939 MB / 1.353 GB, free: 4.969 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4106, allocations: 0 / 1.353 GB, free: 4.969 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005761/0.4112, allocations: 461.3 kB / 1.354 GB, free: 4.48 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.4117, allocations: 81.42 kB / 1.354 GB, free: 4.406 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.4132, allocations: 0.7652 MB / 1.355 GB, free: 3.609 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.4134, allocations: 235.9 kB / 1.355 GB, free: 3.355 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.104e-05/0.4135, allocations: 23.44 kB / 1.355 GB, free: 3.336 MB / 1.045 GB Notification: Performance of SimCode: time 5.11e-07/0.4135, allocations: 0 / 1.355 GB, free: 3.336 MB / 1.045 GB Notification: Performance of Templates: time 0.01319/0.4267, allocations: 8.68 MB / 1.363 GB, free: 10.67 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.601627029944211]