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.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.001349/0.001349, allocations: 113.5 kB / 17.08 MB, free: 5.988 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.001333/0.001333, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.44/1.44, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.032/3.032, allocations: 489.3 MB / 0.7687 GB, free: 3.828 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.002776/0.002777, allocations: 71.88 kB / 1.103 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.052, allocations: 163.8 MB / 1.263 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.00688/1.059, allocations: 4.367 MB / 1.267 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003116/1.062, allocations: 1.87 MB / 1.269 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003095/1.063, allocations: 12.06 kB / 1.269 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001641/1.064, allocations: 0.6022 MB / 1.269 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007501/1.065, allocations: 253.4 kB / 1.269 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008218/1.066, allocations: 271.2 kB / 1.27 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008809/1.067, allocations: 0.6142 MB / 1.27 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007727/1.068, allocations: 461.4 kB / 1.271 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003736/1.068, allocations: 251.2 kB / 1.271 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005397/1.068, allocations: 266.9 kB / 1.271 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.234e-05/1.069, allocations: 40.97 kB / 1.271 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005941/1.069, allocations: 250.5 kB / 1.272 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001971/1.069, allocations: 156.5 kB / 1.272 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002735/1.07, allocations: 215 kB / 1.272 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008813/1.071, allocations: 0.6113 MB / 1.273 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.071, allocations: 0 / 1.273 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.192e-06/1.071, allocations: 0.75 kB / 1.273 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.005e-06/1.071, allocations: 4 kB / 1.273 GB, free: 1.957 MB / 0.9981 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.001241/1.072, allocations: 0.7292 MB / 1.273 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/1.072, allocations: 11.91 kB / 1.273 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/1.073, allocations: 148.5 kB / 1.273 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/1.073, allocations: 340.3 kB / 1.274 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/1.073, allocations: 30.52 kB / 1.274 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.556e-05/1.073, allocations: 33.88 kB / 1.274 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008477/1.074, allocations: 0.5412 MB / 1.274 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/1.074, allocations: 0.5938 kB / 1.274 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/1.074, allocations: 17.03 kB / 1.274 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.919e-05/1.074, allocations: 30.3 kB / 1.274 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006088/1.075, allocations: 389.2 kB / 1.275 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002798/1.078, allocations: 2.405 MB / 1.277 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005736/1.078, allocations: 256.4 kB / 1.277 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/1.079, allocations: 114.8 kB / 1.277 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/1.079, allocations: 3.281 kB / 1.277 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/1.079, allocations: 32.95 kB / 1.277 GB, free: 14.36 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/1.079, allocations: 0 / 1.277 GB, free: 14.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=23): time 0.002483/1.081, allocations: 1.131 MB / 1.279 GB, free: 13.6 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/1.081, allocations: 54.41 kB / 1.279 GB, free: 13.54 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00042/1.082, allocations: 303.3 kB / 1.279 GB, free: 13.37 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/1.082, allocations: 30.77 kB / 1.279 GB, free: 13.34 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/1.082, allocations: 243.7 kB / 1.279 GB, free: 13.13 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.593e-05/1.082, allocations: 85.44 kB / 1.279 GB, free: 13.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/1.082, allocations: 61.94 kB / 1.279 GB, free: 13.02 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001961/1.082, allocations: 343.6 kB / 1.28 GB, free: 12.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/1.083, allocations: 102.6 kB / 1.28 GB, free: 12.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/1.083, allocations: 191.2 kB / 1.28 GB, free: 12.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000437/1.083, allocations: 318.6 kB / 1.28 GB, free: 12.31 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.083, allocations: 0.7031 kB / 1.28 GB, free: 12.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007982/1.084, allocations: 449.6 kB / 1.281 GB, free: 12.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/1.084, allocations: 5.094 kB / 1.281 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.084, allocations: 4.531 kB / 1.281 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004277/1.085, allocations: 102.4 kB / 1.281 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/1.085, allocations: 62.34 kB / 1.281 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004167/1.089, allocations: 4.387 MB / 1.285 GB, free: 7.727 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/1.089, allocations: 8.266 kB / 1.285 GB, free: 7.723 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/1.089, allocations: 14.09 kB / 1.285 GB, free: 7.719 MB / 1.014 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.0002774/1.09, allocations: 186.2 kB / 1.285 GB, free: 7.566 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.919e-05/1.09, allocations: 35.05 kB / 1.285 GB, free: 7.547 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/1.09, allocations: 41.91 kB / 1.285 GB, free: 7.52 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.09, allocations: 2.5 kB / 1.285 GB, free: 7.52 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/1.09, allocations: 5.797 kB / 1.285 GB, free: 7.516 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/1.09, allocations: 1.219 kB / 1.285 GB, free: 7.516 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005676/1.091, allocations: 392.6 kB / 1.286 GB, free: 7.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.091, allocations: 1.703 kB / 1.286 GB, free: 7.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/1.091, allocations: 39.64 kB / 1.286 GB, free: 7.242 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003357/1.091, allocations: 99.94 kB / 1.286 GB, free: 7.195 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/1.091, allocations: 5.719 kB / 1.286 GB, free: 7.191 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003927/1.095, allocations: 4.385 MB / 1.29 GB, free: 2.867 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.095, allocations: 4 kB / 1.29 GB, free: 2.863 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009062/1.096, allocations: 0.5561 MB / 1.291 GB, free: 2.547 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/1.096, allocations: 130.1 kB / 1.291 GB, free: 2.426 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/1.096, allocations: 4 kB / 1.291 GB, free: 2.422 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/1.096, allocations: 15.58 kB / 1.291 GB, free: 2.414 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/1.097, allocations: 27.84 kB / 1.291 GB, free: 2.402 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/1.097, allocations: 4.781 kB / 1.291 GB, free: 2.402 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002591/1.097, allocations: 206.9 kB / 1.291 GB, free: 2.285 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.5e-07/1.097, allocations: 1.125 kB / 1.291 GB, free: 2.285 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005494/1.097, allocations: 102.6 kB / 1.291 GB, free: 2.27 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.0001487/1.098, allocations: 106.2 kB / 1.291 GB, free: 2.176 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009906/1.099, allocations: 0.6052 MB / 1.292 GB, free: 1.746 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/1.099, allocations: 8.125 kB / 1.292 GB, free: 1.738 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005828/1.099, allocations: 471.6 kB / 1.292 GB, free: 1.355 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/1.1, allocations: 76.47 kB / 1.292 GB, free: 1.328 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/1.101, allocations: 0.763 MB / 1.293 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005963/1.102, allocations: 0.8392 MB / 1.294 GB, free: 136 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.446e-05/1.102, allocations: 25.12 kB / 1.294 GB, free: 128 kB / 1.014 GB Notification: Performance of SimCode: time 2.51e-07/1.102, allocations: 0 / 1.294 GB, free: 128 kB / 1.014 GB Notification: Performance of Templates: time 0.01545/1.117, allocations: 8.685 MB / 1.302 GB, free: 15.48 MB / 1.029 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.382899433141574]