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.0009199/0.0009199, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001093/0.002013, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007244/0.0007244, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009454/0.00167, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9421/0.9421, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0903/1.032, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.775/1.775, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4704/2.245, allocations: 123.3 MB / 0.728 GB, free: 5.82 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.391e-05, allocations: 7.234 kB / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005172/0.005196, allocations: 3.404 MB / 0.7326 GB, free: 1.176 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.007673, allocations: 1.301 MB / 0.7339 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002475/0.00792, allocations: 11.94 kB / 0.7339 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.008455, allocations: 151.8 kB / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005445/0.008999, allocations: 281.4 kB / 0.7343 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.009486, allocations: 202.1 kB / 0.7345 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0007922/0.01028, allocations: 0.6966 MB / 0.7352 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004889/0.01077, allocations: 329.8 kB / 0.7355 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005024/0.01127, allocations: 391.2 kB / 0.7359 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005582/0.01183, allocations: 272.6 kB / 0.7362 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.547e-05/0.01189, allocations: 36 kB / 0.7362 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.01219, allocations: 103.8 kB / 0.7363 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.01233, allocations: 139.6 kB / 0.7364 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.01249, allocations: 128.6 kB / 0.7365 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005029/0.013, allocations: 370.7 kB / 0.7369 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.808e-05/0.01301, allocations: 0 / 0.7369 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.343e-06/0.01302, allocations: 0.875 kB / 0.7369 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.119e-05/0.01304, allocations: 0 / 0.7369 GB, free: 12.81 MB / 0.7136 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.00105/0.01409, allocations: 0.7054 MB / 0.7376 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.01412, allocations: 8.031 kB / 0.7376 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000901/0.01502, allocations: 279.8 kB / 0.7379 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.0154, allocations: 258.6 kB / 0.7381 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.01543, allocations: 21.38 kB / 0.7381 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.658e-05/0.01548, allocations: 37.41 kB / 0.7382 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005087/0.01599, allocations: 0.49 MB / 0.7386 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.01601, allocations: 4.125 kB / 0.7386 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.01604, allocations: 13.06 kB / 0.7387 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.985e-05/0.01609, allocations: 36.58 kB / 0.7387 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.0163, allocations: 110.2 kB / 0.7388 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.01799, allocations: 1.446 MB / 0.7402 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/0.01833, allocations: 161.1 kB / 0.7404 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.26e-05/0.0184, allocations: 48.25 kB / 0.7404 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.01842, allocations: 4 kB / 0.7404 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.01845, allocations: 38.56 kB / 0.7404 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 2.344e-06/0.01845, allocations: 0 / 0.7404 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0006726/0.01912, allocations: 267.8 kB / 0.7407 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.01916, allocations: 55.34 kB / 0.7408 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.01938, allocations: 248.9 kB / 0.741 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.0194, allocations: 36.45 kB / 0.741 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.01953, allocations: 224 kB / 0.7412 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.914e-05/0.01959, allocations: 75.31 kB / 0.7413 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.317e-05/0.01967, allocations: 57.67 kB / 0.7414 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.01977, allocations: 334.8 kB / 0.7417 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.622e-05/0.01983, allocations: 27.98 kB / 0.7417 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.01995, allocations: 119.7 kB / 0.7418 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.02014, allocations: 171.4 kB / 0.742 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.02015, allocations: 0 / 0.742 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003759/0.02052, allocations: 225.3 kB / 0.7422 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.02054, allocations: 4 kB / 0.7422 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.02055, allocations: 4 kB / 0.7422 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002978/0.02085, allocations: 72.31 kB / 0.7423 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.02111, allocations: 79.62 kB / 0.7424 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.02277, allocations: 2.406 MB / 0.7447 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.02293, allocations: 27.78 kB / 0.7447 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.02295, allocations: 12 kB / 0.7447 GB, free: 4.258 MB / 0.7136 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 (33): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.02308, allocations: 136.5 kB / 0.7449 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.02313, allocations: 23.27 kB / 0.7449 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.702e-05/0.02318, allocations: 34.2 kB / 0.7449 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.02319, allocations: 11.92 kB / 0.7449 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.0232, allocations: 0 / 0.7449 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.0232, allocations: 3.938 kB / 0.7449 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.02348, allocations: 173.7 kB / 0.7451 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.02348, allocations: 0 / 0.7451 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.02367, allocations: 47.72 kB / 0.7452 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.976e-05/0.02375, allocations: 35.73 kB / 0.7452 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002379/0.02399, allocations: 66.75 kB / 0.7453 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.024, allocations: 4 kB / 0.7453 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/0.02561, allocations: 2.423 MB / 0.7476 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.02561, allocations: 0 / 0.7476 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.02601, allocations: 284.5 kB / 0.7479 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.02604, allocations: 8 kB / 0.7479 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.02618, allocations: 18.67 kB / 0.7479 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.02622, allocations: 11.97 kB / 0.7479 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.02624, allocations: 8 kB / 0.7479 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001066/0.02634, allocations: 82.78 kB / 0.748 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.02634, allocations: 0 / 0.748 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004706/0.02681, allocations: 107.8 kB / 0.7481 GB, free: 0.5625 MB / 0.7136 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 (17): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,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.0001349/0.02695, allocations: 90.69 kB / 0.7482 GB, free: 476 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004445/0.02739, allocations: 356.7 kB / 0.7486 GB, free: 92 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-05/0.02741, allocations: 11.98 kB / 0.7486 GB, free: 80 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.02765, allocations: 297.5 kB / 0.7488 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.02805, allocations: 86.97 kB / 0.7489 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004137/0.03218, allocations: 0.6375 MB / 0.7496 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.03229, allocations: 121.5 kB / 0.7497 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001521/0.03244, allocations: 37.06 kB / 0.7497 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.03263, allocations: 116.3 kB / 0.7498 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of SimCode: time 1.022e-06/0.03263, allocations: 0 / 0.7498 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of Templates: time 0.008708/0.04133, allocations: 4.22 MB / 0.7539 GB, free: 10.7 MB / 0.7292 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel/Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.680543353781104]