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.001541/0.001541, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.001613/0.001613, allocations: 164.7 kB / 22.46 MB, free: 5.371 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.514/1.514, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 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 2.939/2.939, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 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 2.043e-06/2.043e-06, allocations: 0 / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.651e-05/3.855e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006662/0.006701, allocations: 4.225 MB / 0.9855 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003513/0.01021, allocations: 1.83 MB / 0.9873 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.01043, allocations: 15.88 kB / 0.9873 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.0123, allocations: 0.5937 MB / 0.9879 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007139/0.01301, allocations: 274.2 kB / 0.9882 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000682/0.01369, allocations: 255.2 kB / 0.9884 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008129/0.0145, allocations: 0.6266 MB / 0.989 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000658/0.01516, allocations: 347.1 kB / 0.9894 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005055/0.01567, allocations: 359.1 kB / 0.9897 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005327/0.0162, allocations: 235.3 kB / 0.9899 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.471e-05/0.01628, allocations: 40 kB / 0.99 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004547/0.01673, allocations: 235.2 kB / 0.9902 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.01694, allocations: 167.5 kB / 0.9903 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.01716, allocations: 151.7 kB / 0.9905 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009018/0.01806, allocations: 0.6308 MB / 0.9911 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.01806, allocations: 0 / 0.9911 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.313e-06/0.01806, allocations: 0 / 0.9911 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.01808, allocations: 0 / 0.9911 GB, free: 2.004 MB / 0.9356 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.001481/0.01956, allocations: 0.6493 MB / 0.9917 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.01961, allocations: 8.031 kB / 0.9917 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.02068, allocations: 160.5 kB / 0.9919 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/0.02122, allocations: 272.6 kB / 0.9922 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/0.02126, allocations: 25.38 kB / 0.9922 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.754e-05/0.02135, allocations: 36.33 kB / 0.9922 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009963/0.02234, allocations: 0.6825 MB / 0.9929 GB, free: 56 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.02236, allocations: 4.188 kB / 0.9929 GB, free: 52 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/0.02241, allocations: 16.38 kB / 0.9929 GB, free: 36 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.625e-05/0.02246, allocations: 32.58 kB / 0.9929 GB, free: 4 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006618/0.02312, allocations: 390.3 kB / 0.9933 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/0.02557, allocations: 1.66 MB / 0.9949 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005989/0.02617, allocations: 238.5 kB / 0.9952 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.02635, allocations: 115.3 kB / 0.9953 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.02636, allocations: 4 kB / 0.9953 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.02639, allocations: 30.56 kB / 0.9953 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.894e-06/0.02639, allocations: 0 / 0.9953 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.002369/0.02876, allocations: 0.897 MB / 0.9962 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.02882, allocations: 55.41 kB / 0.9962 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.02915, allocations: 281.7 kB / 0.9965 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.02918, allocations: 25.7 kB / 0.9965 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.02937, allocations: 236 kB / 0.9967 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.195e-05/0.02945, allocations: 95.19 kB / 0.9968 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.02958, allocations: 57.98 kB / 0.9969 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.02976, allocations: 342.8 kB / 0.9972 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.02994, allocations: 104.6 kB / 0.9973 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.03019, allocations: 191.7 kB / 0.9975 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/0.03065, allocations: 319.5 kB / 0.9978 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.03065, allocations: 0 / 0.9978 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008133/0.03146, allocations: 441.9 kB / 0.9982 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.03149, allocations: 8 kB / 0.9982 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.03149, allocations: 0 / 0.9982 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003925/0.03188, allocations: 102.8 kB / 0.9983 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.03218, allocations: 67.89 kB / 0.9984 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003664/0.03584, allocations: 3.989 MB / 1.002 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.03606, allocations: 15.92 kB / 1.002 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.03608, allocations: 12 kB / 1.002 GB, free: 5.801 MB / 0.9512 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.0002513/0.03634, allocations: 185.9 kB / 1.002 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.0364, allocations: 27.81 kB / 1.003 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.766e-05/0.03648, allocations: 38.27 kB / 1.003 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.03648, allocations: 7.938 kB / 1.003 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.03649, allocations: 0 / 1.003 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.0365, allocations: 0 / 1.003 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.0369, allocations: 289.1 kB / 1.003 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.0369, allocations: 0 / 1.003 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.0371, allocations: 35.98 kB / 1.003 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000324/0.03743, allocations: 90.5 kB / 1.003 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.03745, allocations: 4 kB / 1.003 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003636/0.04109, allocations: 4.001 MB / 1.007 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.04109, allocations: 0 / 1.007 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009139/0.042, allocations: 0.5596 MB / 1.007 GB, free: 204 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.04211, allocations: 43.83 kB / 1.007 GB, free: 160 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.04215, allocations: 3.984 kB / 1.007 GB, free: 156 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.04235, allocations: 12 kB / 1.007 GB, free: 144 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.04242, allocations: 19.91 kB / 1.007 GB, free: 124 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.04243, allocations: 8 kB / 1.008 GB, free: 116 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002313/0.04267, allocations: 189.2 kB / 1.008 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.04267, allocations: 0 / 1.008 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004927/0.04316, allocations: 104 kB / 1.008 GB, free: 15.83 MB / 0.9669 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.0001844/0.04334, allocations: 103.8 kB / 1.008 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009866/0.04433, allocations: 0.5938 MB / 1.008 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.04433, allocations: 0 / 1.008 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005622/0.0449, allocations: 463.9 kB / 1.009 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005066/0.0454, allocations: 80.98 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.04665, allocations: 0.6774 MB / 1.01 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.04692, allocations: 224 kB / 1.01 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001673/0.04709, allocations: 54.94 kB / 1.01 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.04716, allocations: 24.5 kB / 1.01 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of SimCode: time 3.4e-07/0.04716, allocations: 3.938 kB / 1.01 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of Templates: time 0.01028/0.05744, allocations: 4.323 MB / 1.014 GB, free: 9.266 MB / 0.9669 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 400] 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.796208258718252]