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.001631/0.001631, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001858/0.001858, allocations: 215.5 kB / 23.01 MB, free: 4.566 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.901/2.901, allocations: 476.8 MB / 0.7714 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002084/0.002084, allocations: 67.61 kB / 1.119 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3672, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.008366/0.3755, allocations: 4.551 MB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004263/0.3798, allocations: 1.959 MB / 1.291 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003189/0.3801, allocations: 11.94 kB / 1.291 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00196/0.3821, allocations: 0.6239 MB / 1.292 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007469/0.3828, allocations: 270.5 kB / 1.292 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007819/0.3836, allocations: 256.3 kB / 1.292 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008324/0.3844, allocations: 0.6074 MB / 1.293 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000634/0.3851, allocations: 347.1 kB / 1.293 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003237/0.3854, allocations: 259.1 kB / 1.293 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005439/0.3859, allocations: 283 kB / 1.293 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.386, allocations: 36 kB / 1.294 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004986/0.3865, allocations: 259.4 kB / 1.294 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.3867, allocations: 155.5 kB / 1.294 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.3869, allocations: 218.9 kB / 1.294 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008104/0.3877, allocations: 0.611 MB / 1.295 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3877, allocations: 3.938 kB / 1.295 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3877, allocations: 3.938 kB / 1.295 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.3877, allocations: 0 / 1.295 GB, free: 0.7891 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.001347/0.3891, allocations: 0.6668 MB / 1.295 GB, free: 92 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3891, allocations: 8.031 kB / 1.295 GB, free: 84 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.3901, allocations: 156.5 kB / 1.296 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005194/0.3907, allocations: 272.8 kB / 1.296 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.3907, allocations: 25.38 kB / 1.296 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.945e-05/0.3908, allocations: 32.38 kB / 1.296 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000821/0.3916, allocations: 0.5395 MB / 1.296 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.3916, allocations: 0 / 1.296 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.603e-05/0.3916, allocations: 16 kB / 1.296 GB, free: 15 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-05/0.3917, allocations: 32.64 kB / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006193/0.3923, allocations: 386.3 kB / 1.297 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002823/0.3951, allocations: 2.375 MB / 1.299 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005377/0.3957, allocations: 242.5 kB / 1.299 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.3958, allocations: 96.75 kB / 1.299 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.3959, allocations: 8 kB / 1.299 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.3959, allocations: 34.56 kB / 1.299 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.333e-06/0.3959, allocations: 0 / 1.299 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.002163/0.3981, allocations: 0.9068 MB / 1.3 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.3981, allocations: 51.41 kB / 1.3 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.3984, allocations: 304.4 kB / 1.301 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.3985, allocations: 33.7 kB / 1.301 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.3987, allocations: 232.1 kB / 1.301 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.986e-05/0.3987, allocations: 91.25 kB / 1.301 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.3988, allocations: 61.98 kB / 1.301 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.399, allocations: 338.8 kB / 1.301 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.3992, allocations: 104.6 kB / 1.302 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.3994, allocations: 195.7 kB / 1.302 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/0.3999, allocations: 312.2 kB / 1.302 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.3999, allocations: 4 kB / 1.302 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007934/0.4007, allocations: 442 kB / 1.302 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.4007, allocations: 4 kB / 1.302 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.4007, allocations: 4 kB / 1.302 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003714/0.4011, allocations: 102.6 kB / 1.303 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.4014, allocations: 63.91 kB / 1.303 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003616/0.405, allocations: 4.081 MB / 1.307 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.4052, allocations: 12.03 kB / 1.307 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.4052, allocations: 12 kB / 1.307 GB, free: 3.766 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.0002416/0.4055, allocations: 185.8 kB / 1.307 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.4055, allocations: 35.75 kB / 1.307 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.304e-05/0.4056, allocations: 46.28 kB / 1.307 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.4056, allocations: 4 kB / 1.307 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.4056, allocations: 0 / 1.307 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4056, allocations: 0 / 1.307 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.4061, allocations: 372.5 kB / 1.307 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.4061, allocations: 4 kB / 1.307 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.4063, allocations: 31.92 kB / 1.307 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000305/0.4066, allocations: 98.48 kB / 1.307 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.4066, allocations: 4 kB / 1.307 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003444/0.4101, allocations: 4.077 MB / 1.311 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4101, allocations: 0 / 1.311 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008749/0.4109, allocations: 0.5626 MB / 1.312 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.4111, allocations: 47.78 kB / 1.312 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.4111, allocations: 4 kB / 1.312 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.4113, allocations: 16.05 kB / 1.312 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.4114, allocations: 19.91 kB / 1.312 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.4114, allocations: 12 kB / 1.312 GB, free: 13.83 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000233/0.4116, allocations: 207.1 kB / 1.312 GB, free: 13.63 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4116, allocations: 0 / 1.312 GB, free: 13.63 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000502/0.4121, allocations: 103.9 kB / 1.312 GB, free: 13.53 MB / 1.014 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.0001468/0.4123, allocations: 103.2 kB / 1.312 GB, free: 13.42 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009323/0.4132, allocations: 0.5857 MB / 1.313 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.4132, allocations: 0.6875 kB / 1.313 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005333/0.4137, allocations: 467.9 kB / 1.313 GB, free: 12.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005081/0.4142, allocations: 83.03 kB / 1.313 GB, free: 12.22 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.4156, allocations: 0.7699 MB / 1.314 GB, free: 11.41 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.4162, allocations: 0.8428 MB / 1.315 GB, free: 10.54 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.997e-05/0.4162, allocations: 23.44 kB / 1.315 GB, free: 10.52 MB / 1.014 GB Notification: Performance of SimCode: time 4.2e-07/0.4162, allocations: 3.938 kB / 1.315 GB, free: 10.52 MB / 1.014 GB Notification: Performance of Templates: time 0.01219/0.4284, allocations: 8.702 MB / 1.324 GB, free: 1.828 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 -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/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: 13.288200277020223]