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.001918/0.001918, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002025/0.002025, allocations: 157.3 kB / 23.55 MB, free: 0.8828 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 1.556/1.556, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.174/3.174, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.542e-06/1.542e-06, allocations: 0 / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.427e-05/4.582e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.0079/0.007946, allocations: 4.429 MB / 0.8151 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003849/0.01179, allocations: 1.888 MB / 0.8169 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.01199, allocations: 11.94 kB / 0.817 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.01386, allocations: 0.6058 MB / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006018/0.01446, allocations: 277.4 kB / 0.8178 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006298/0.01509, allocations: 252.9 kB / 0.8181 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001124/0.01621, allocations: 0.6266 MB / 0.8187 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006585/0.01687, allocations: 351.6 kB / 0.819 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005041/0.01738, allocations: 356 kB / 0.8193 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005529/0.01793, allocations: 244.5 kB / 0.8196 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.932e-05/0.01801, allocations: 39.94 kB / 0.8196 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004532/0.01846, allocations: 235.3 kB / 0.8198 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.01867, allocations: 170 kB / 0.82 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.0189, allocations: 151.7 kB / 0.8201 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009032/0.01981, allocations: 0.6347 MB / 0.8208 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.01981, allocations: 0 / 0.8208 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.463e-06/0.01981, allocations: 0 / 0.8208 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.01982, allocations: 0 / 0.8208 GB, free: 7.895 MB / 0.7761 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.001492/0.02131, allocations: 0.7787 MB / 0.8215 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.02135, allocations: 12.03 kB / 0.8215 GB, free: 7.066 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.0225, allocations: 214.5 kB / 0.8217 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005742/0.02307, allocations: 286.4 kB / 0.822 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.973e-05/0.02311, allocations: 37.28 kB / 0.822 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.499e-05/0.02319, allocations: 36.38 kB / 0.8221 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008783/0.02406, allocations: 0.558 MB / 0.8226 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.02408, allocations: 3.281 kB / 0.8226 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.403e-05/0.02412, allocations: 12.38 kB / 0.8226 GB, free: 5.836 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.718e-05/0.02419, allocations: 40.56 kB / 0.8227 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004427/0.02463, allocations: 190.4 kB / 0.8229 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002953/0.02759, allocations: 2.135 MB / 0.8249 GB, free: 3.395 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005208/0.02811, allocations: 181.9 kB / 0.8251 GB, free: 3.207 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/0.0285, allocations: 64.31 kB / 0.8252 GB, free: 3.141 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.02852, allocations: 7.984 kB / 0.8252 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.02856, allocations: 39.11 kB / 0.8252 GB, free: 3.086 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.232e-06/0.02856, allocations: 0 / 0.8252 GB, free: 3.086 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.002092/0.03065, allocations: 0.7206 MB / 0.8259 GB, free: 2.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.03071, allocations: 60.44 kB / 0.826 GB, free: 2.25 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000418/0.03113, allocations: 360.2 kB / 0.8263 GB, free: 1.883 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.03116, allocations: 30.83 kB / 0.8264 GB, free: 1.848 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.0314, allocations: 298.7 kB / 0.8266 GB, free: 1.551 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.703e-05/0.03149, allocations: 87.28 kB / 0.8267 GB, free: 1.465 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.03163, allocations: 78.8 kB / 0.8268 GB, free: 1.379 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003237/0.03195, allocations: 0.5235 MB / 0.8273 GB, free: 0.8438 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.03209, allocations: 56.62 kB / 0.8274 GB, free: 0.7891 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.03235, allocations: 189.7 kB / 0.8276 GB, free: 0.5508 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000435/0.03279, allocations: 270.2 kB / 0.8278 GB, free: 248 kB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.03279, allocations: 0 / 0.8278 GB, free: 248 kB / 0.7761 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007781/0.03357, allocations: 374.3 kB / 0.8282 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.03358, allocations: 4 kB / 0.8282 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.03359, allocations: 4 kB / 0.8282 GB, free: 15.85 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006705/0.03426, allocations: 131.3 kB / 0.8283 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.03454, allocations: 67.89 kB / 0.8284 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005038/0.03958, allocations: 5.354 MB / 0.8336 GB, free: 9.918 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.03982, allocations: 15.98 kB / 0.8336 GB, free: 9.902 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.03984, allocations: 12 kB / 0.8336 GB, free: 9.891 MB / 0.7917 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.0002184/0.04006, allocations: 192.6 kB / 0.8338 GB, free: 9.691 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.868e-05/0.04014, allocations: 35.81 kB / 0.8338 GB, free: 9.656 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.062e-05/0.04023, allocations: 38.27 kB / 0.8339 GB, free: 9.625 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.04024, allocations: 7.938 kB / 0.8339 GB, free: 9.617 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.04024, allocations: 0 / 0.8339 GB, free: 9.617 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.04025, allocations: 0 / 0.8339 GB, free: 9.617 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/0.04072, allocations: 316.4 kB / 0.8342 GB, free: 9.273 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.04073, allocations: 0 / 0.8342 GB, free: 9.273 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.04092, allocations: 31.98 kB / 0.8342 GB, free: 9.242 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005792/0.0415, allocations: 130.9 kB / 0.8343 GB, free: 9.102 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.04152, allocations: 4 kB / 0.8343 GB, free: 9.098 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004948/0.04647, allocations: 5.366 MB / 0.8396 GB, free: 3.363 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.04647, allocations: 0 / 0.8396 GB, free: 3.363 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008054/0.04728, allocations: 469.4 kB / 0.84 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.04741, allocations: 47.92 kB / 0.8401 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.04745, allocations: 8 kB / 0.8401 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.04766, allocations: 15.98 kB / 0.8401 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.04772, allocations: 19.97 kB / 0.8401 GB, free: 2.785 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.04774, allocations: 4 kB / 0.8401 GB, free: 2.781 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002529/0.04799, allocations: 237.1 kB / 0.8403 GB, free: 2.551 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8.1e-08/0.04799, allocations: 0 / 0.8403 GB, free: 2.551 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004735/0.04846, allocations: 103.9 kB / 0.8404 GB, free: 2.449 MB / 0.7917 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.0001535/0.04862, allocations: 99.25 kB / 0.8405 GB, free: 2.344 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.04966, allocations: 0.7084 MB / 0.8412 GB, free: 1.578 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.04967, allocations: 0 / 0.8412 GB, free: 1.578 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000666/0.05033, allocations: 0.6012 MB / 0.8418 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.05084, allocations: 66.62 kB / 0.8419 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.0521, allocations: 0.6607 MB / 0.8425 GB, free: 168 kB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.05239, allocations: 219.8 kB / 0.8427 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001777/0.05256, allocations: 46.94 kB / 0.8428 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.931e-05/0.05263, allocations: 24.5 kB / 0.8428 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of SimCode: time 5.21e-07/0.05263, allocations: 0 / 0.8428 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of Templates: time 0.01093/0.06356, allocations: 4.404 MB / 0.8471 GB, free: 11.55 MB / 0.8073 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.589070356916636]