Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002082/0.002082, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002441/0.002441, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.617/1.617, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.581/3.581, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.00219/0.00219, allocations: 68.83 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4914/0.4935, allocations: 181.9 MB / 1.364 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007279/0.5008, allocations: 4.282 MB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003728/0.5046, allocations: 1.823 MB / 1.37 GB, free: 7.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002781/0.5048, allocations: 11.94 kB / 1.37 GB, free: 7.559 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001946/0.5068, allocations: 0.5976 MB / 1.37 GB, free: 6.961 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0008013/0.5076, allocations: 266.6 kB / 1.371 GB, free: 6.699 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007936/0.5084, allocations: 255.4 kB / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008356/0.5092, allocations: 0.6111 MB / 1.371 GB, free: 5.836 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006728/0.5099, allocations: 339.2 kB / 1.372 GB, free: 5.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003472/0.5102, allocations: 259.1 kB / 1.372 GB, free: 5.246 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000553/0.5108, allocations: 266.9 kB / 1.372 GB, free: 4.984 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.616e-05/0.5109, allocations: 36 kB / 1.372 GB, free: 4.949 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005131/0.5114, allocations: 231.4 kB / 1.373 GB, free: 4.723 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.5116, allocations: 151.5 kB / 1.373 GB, free: 4.574 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002666/0.5118, allocations: 187.2 kB / 1.373 GB, free: 4.391 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008549/0.5127, allocations: 0.611 MB / 1.373 GB, free: 3.777 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5127, allocations: 0 / 1.373 GB, free: 3.777 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5127, allocations: 0 / 1.373 GB, free: 3.777 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.5127, allocations: 4 kB / 1.373 GB, free: 3.773 MB / 1.061 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.001422/0.5141, allocations: 0.6648 MB / 1.374 GB, free: 3.078 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.5142, allocations: 12.03 kB / 1.374 GB, free: 3.066 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.5152, allocations: 148.5 kB / 1.374 GB, free: 2.922 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/0.5158, allocations: 280.8 kB / 1.375 GB, free: 2.625 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.5158, allocations: 21.38 kB / 1.375 GB, free: 2.605 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.148e-05/0.5159, allocations: 36.38 kB / 1.375 GB, free: 2.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009736/0.5168, allocations: 0.6823 MB / 1.375 GB, free: 1.816 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.5169, allocations: 8 kB / 1.375 GB, free: 1.809 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.735e-05/0.5169, allocations: 12 kB / 1.375 GB, free: 1.797 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.016e-05/0.517, allocations: 36.58 kB / 1.375 GB, free: 1.762 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006698/0.5176, allocations: 382.3 kB / 1.376 GB, free: 1.391 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002687/0.5203, allocations: 1.672 MB / 1.377 GB, free: 15.65 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005864/0.5209, allocations: 242.5 kB / 1.378 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.5211, allocations: 92.81 kB / 1.378 GB, free: 15.31 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.5211, allocations: 4 kB / 1.378 GB, free: 15.31 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.5211, allocations: 34.56 kB / 1.378 GB, free: 15.27 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 2.044e-06/0.5211, allocations: 0 / 1.378 GB, free: 15.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.002356/0.5235, allocations: 0.9164 MB / 1.379 GB, free: 14.31 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/0.5236, allocations: 55.41 kB / 1.379 GB, free: 14.24 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.5239, allocations: 273.8 kB / 1.379 GB, free: 13.97 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.524, allocations: 33.7 kB / 1.379 GB, free: 13.93 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.5242, allocations: 232.1 kB / 1.379 GB, free: 13.7 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.258e-05/0.5243, allocations: 91.25 kB / 1.379 GB, free: 13.61 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.5244, allocations: 61.98 kB / 1.379 GB, free: 13.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.5246, allocations: 342.8 kB / 1.38 GB, free: 13.19 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.5248, allocations: 108.6 kB / 1.38 GB, free: 13.09 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.5251, allocations: 179.8 kB / 1.38 GB, free: 12.87 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004665/0.5255, allocations: 327.4 kB / 1.38 GB, free: 12.52 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5255, allocations: 0 / 1.38 GB, free: 12.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008365/0.5264, allocations: 438.1 kB / 1.381 GB, free: 12.07 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.5264, allocations: 4 kB / 1.381 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.5264, allocations: 4 kB / 1.381 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004119/0.5268, allocations: 94.48 kB / 1.381 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.5271, allocations: 68.03 kB / 1.381 GB, free: 11.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003812/0.5309, allocations: 4.012 MB / 1.385 GB, free: 7.574 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.5312, allocations: 8 kB / 1.385 GB, free: 7.566 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.5312, allocations: 16 kB / 1.385 GB, free: 7.551 MB / 1.076 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.0002546/0.5314, allocations: 177.7 kB / 1.385 GB, free: 7.367 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-05/0.5315, allocations: 31.81 kB / 1.385 GB, free: 7.336 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.133e-05/0.5316, allocations: 34.27 kB / 1.385 GB, free: 7.301 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.5316, allocations: 8.094 kB / 1.385 GB, free: 7.293 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.5316, allocations: 3.938 kB / 1.385 GB, free: 7.289 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.5316, allocations: 0 / 1.385 GB, free: 7.289 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004183/0.532, allocations: 285.2 kB / 1.385 GB, free: 6.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.532, allocations: 0 / 1.385 GB, free: 6.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.5322, allocations: 39.92 kB / 1.385 GB, free: 6.941 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003038/0.5325, allocations: 90.5 kB / 1.385 GB, free: 6.844 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.5326, allocations: 4 kB / 1.385 GB, free: 6.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003562/0.5361, allocations: 4.005 MB / 1.389 GB, free: 2.531 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5361, allocations: 3.938 kB / 1.389 GB, free: 2.527 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009084/0.537, allocations: 0.5573 MB / 1.39 GB, free: 1.945 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.5372, allocations: 43.86 kB / 1.39 GB, free: 1.902 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.5372, allocations: 4.219 kB / 1.39 GB, free: 1.898 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.5374, allocations: 16 kB / 1.39 GB, free: 1.883 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.5375, allocations: 27.89 kB / 1.39 GB, free: 1.855 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.5375, allocations: 4 kB / 1.39 GB, free: 1.852 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002162/0.5377, allocations: 185.2 kB / 1.39 GB, free: 1.668 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.5377, allocations: 0 / 1.39 GB, free: 1.668 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004938/0.5382, allocations: 96 kB / 1.39 GB, free: 1.574 MB / 1.076 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.0001838/0.5384, allocations: 111.1 kB / 1.39 GB, free: 1.453 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009651/0.5393, allocations: 0.5857 MB / 1.391 GB, free: 0.8281 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5393, allocations: 4.688 kB / 1.391 GB, free: 0.8242 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005699/0.5399, allocations: 468.8 kB / 1.391 GB, free: 336 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005061/0.5404, allocations: 71.53 kB / 1.391 GB, free: 272 kB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.5418, allocations: 0.7171 MB / 1.392 GB, free: 15.52 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.542, allocations: 232 kB / 1.392 GB, free: 15.28 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001869/0.5422, allocations: 54.94 kB / 1.392 GB, free: 15.22 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.65e-05/0.5423, allocations: 19.44 kB / 1.392 GB, free: 15.2 MB / 1.092 GB Notification: Performance of SimCode: time 3.3e-07/0.5423, allocations: 0 / 1.392 GB, free: 15.2 MB / 1.092 GB Notification: Performance of Templates: time 0.01052/0.5528, allocations: 4.765 MB / 1.397 GB, free: 10.51 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.472218183800578]