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.0008385/0.0008385, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008389/0.0008389, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8564/0.8564, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.631/1.631, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.9517 GB, free: 3.055 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.617e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.051 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.003991/0.004017, allocations: 4.226 MB / 0.9558 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001816/0.005833, allocations: 1.823 MB / 0.9576 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.005958, allocations: 11.94 kB / 0.9576 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008473/0.006806, allocations: 0.5935 MB / 0.9582 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003394/0.007145, allocations: 278.2 kB / 0.9585 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.007441, allocations: 251.2 kB / 0.9587 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004261/0.007867, allocations: 0.6343 MB / 0.9593 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004309/0.008298, allocations: 343.1 kB / 0.9596 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.008536, allocations: 351.2 kB / 0.96 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.008851, allocations: 247.3 kB / 0.9602 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.00889, allocations: 36 kB / 0.9602 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.009137, allocations: 235.3 kB / 0.9605 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.009239, allocations: 163.5 kB / 0.9606 GB, free: 9.859 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.009345, allocations: 159.6 kB / 0.9608 GB, free: 9.703 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004634/0.009808, allocations: 0.6192 MB / 0.9614 GB, free: 9.082 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.009811, allocations: 8 kB / 0.9614 GB, free: 9.074 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.162e-06/0.009812, allocations: 0 / 0.9614 GB, free: 9.074 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.009818, allocations: 0 / 0.9614 GB, free: 9.074 MB / 0.9167 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.0007709/0.01059, allocations: 0.6531 MB / 0.962 GB, free: 8.391 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.01062, allocations: 12.03 kB / 0.962 GB, free: 8.379 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005341/0.01116, allocations: 148.5 kB / 0.9622 GB, free: 8.234 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.01147, allocations: 280.5 kB / 0.9624 GB, free: 7.938 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.01148, allocations: 25.38 kB / 0.9625 GB, free: 7.91 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.01153, allocations: 36.31 kB / 0.9625 GB, free: 7.875 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005833/0.01211, allocations: 0.6826 MB / 0.9632 GB, free: 7.121 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.01212, allocations: 192 / 0.9632 GB, free: 7.121 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.01215, allocations: 20.38 kB / 0.9632 GB, free: 7.102 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-05/0.01219, allocations: 36.58 kB / 0.9632 GB, free: 7.066 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003944/0.01259, allocations: 382.3 kB / 0.9636 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.01401, allocations: 1.672 MB / 0.9652 GB, free: 4.957 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.01436, allocations: 240.3 kB / 0.9655 GB, free: 4.715 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.804e-05/0.01445, allocations: 100.8 kB / 0.9656 GB, free: 4.613 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.01446, allocations: 8 kB / 0.9656 GB, free: 4.605 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.01449, allocations: 38.55 kB / 0.9656 GB, free: 4.559 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.01449, allocations: 4 kB / 0.9656 GB, free: 4.555 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23): time 0.001288/0.01577, allocations: 0.8938 MB / 0.9665 GB, free: 3.621 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.01581, allocations: 55.41 kB / 0.9665 GB, free: 3.555 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.016, allocations: 269.8 kB / 0.9668 GB, free: 3.273 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.01602, allocations: 33.7 kB / 0.9668 GB, free: 3.234 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.01612, allocations: 244 kB / 0.967 GB, free: 2.992 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.01616, allocations: 87.27 kB / 0.9671 GB, free: 2.906 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.01623, allocations: 61.98 kB / 0.9672 GB, free: 2.836 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.01631, allocations: 338.8 kB / 0.9675 GB, free: 2.496 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.01642, allocations: 100.6 kB / 0.9676 GB, free: 2.398 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.01656, allocations: 195.7 kB / 0.9678 GB, free: 2.168 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.01683, allocations: 311.5 kB / 0.9681 GB, free: 1.828 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01683, allocations: 0 / 0.9681 GB, free: 1.828 MB / 0.9167 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004527/0.01728, allocations: 442 kB / 0.9685 GB, free: 1.383 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.0173, allocations: 4 kB / 0.9685 GB, free: 1.379 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.0173, allocations: 4 kB / 0.9685 GB, free: 1.375 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002103/0.01751, allocations: 106.6 kB / 0.9686 GB, free: 1.262 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.01766, allocations: 59.91 kB / 0.9687 GB, free: 1.203 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/0.01964, allocations: 4.004 MB / 0.9726 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.618e-05/0.01974, allocations: 8 kB / 0.9726 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.01975, allocations: 12 kB / 0.9726 GB, free: 12.87 MB / 0.9323 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.0001414/0.01989, allocations: 197.8 kB / 0.9728 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.01993, allocations: 31.81 kB / 0.9728 GB, free: 12.63 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.01996, allocations: 38.27 kB / 0.9729 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01996, allocations: 4 kB / 0.9729 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.01997, allocations: 0 / 0.9729 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01997, allocations: 0 / 0.9729 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.0202, allocations: 285.1 kB / 0.9731 GB, free: 12.28 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.0202, allocations: 0 / 0.9731 GB, free: 12.28 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.479e-05/0.02029, allocations: 39.91 kB / 0.9732 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001562/0.02045, allocations: 90.5 kB / 0.9733 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.02046, allocations: 7.938 kB / 0.9733 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/0.0223, allocations: 3.997 MB / 0.9772 GB, free: 7.836 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.0223, allocations: 0 / 0.9772 GB, free: 7.836 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004926/0.02279, allocations: 0.5523 MB / 0.9777 GB, free: 7.258 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.608e-05/0.02286, allocations: 43.83 kB / 0.9778 GB, free: 7.215 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.02288, allocations: 4 kB / 0.9778 GB, free: 7.211 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.533e-05/0.02297, allocations: 15.98 kB / 0.9778 GB, free: 7.195 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.02301, allocations: 23.91 kB / 0.9778 GB, free: 7.172 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.02302, allocations: 4 kB / 0.9778 GB, free: 7.168 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001164/0.02313, allocations: 189.2 kB / 0.978 GB, free: 6.988 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02313, allocations: 0 / 0.978 GB, free: 6.988 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002677/0.0234, allocations: 99.94 kB / 0.9781 GB, free: 6.891 MB / 0.9323 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.0001039/0.0235, allocations: 103.3 kB / 0.9782 GB, free: 6.777 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005285/0.02403, allocations: 0.6007 MB / 0.9788 GB, free: 6.141 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02403, allocations: 0 / 0.9788 GB, free: 6.141 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.02429, allocations: 455.9 kB / 0.9792 GB, free: 5.656 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.02459, allocations: 75.52 kB / 0.9793 GB, free: 5.59 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000808/0.0254, allocations: 0.7229 MB / 0.98 GB, free: 4.836 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.02555, allocations: 228 kB / 0.9802 GB, free: 4.59 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.02561, allocations: 24.5 kB / 0.9802 GB, free: 4.566 MB / 0.9323 GB Notification: Performance of SimCode: time 6.61e-07/0.02561, allocations: 0 / 0.9802 GB, free: 4.566 MB / 0.9323 GB Notification: Performance of Templates: time 0.006624/0.03223, allocations: 8.698 MB / 0.9887 GB, free: 11.88 MB / 0.948 GB " [Timeout remaining time 300] 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/jenkins/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: 7.22899276856333]