Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001747/0.001747, allocations: 110 kB / 18.94 MB, free: 2.949 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.002006/0.002006, allocations: 185.9 kB / 22.23 MB, free: 5.148 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.541/1.541, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.686/2.686, allocations: 443.4 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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_10_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_10_Buildings.Electrical.DC.Lines.Examples.RCModel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003206/0.003206, allocations: 63.91 kB / 1.061 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.067, allocations: 160.8 MB / 1.218 GB, free: 3.742 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007568/1.075, allocations: 4.522 MB / 1.223 GB, free: 300 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003852/1.079, allocations: 1.925 MB / 1.225 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003308/1.079, allocations: 11.34 kB / 1.225 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002274/1.081, allocations: 0.6266 MB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001183/1.083, allocations: 270.6 kB / 1.226 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/1.084, allocations: 247.6 kB / 1.226 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001289/1.085, allocations: 0.6228 MB / 1.226 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008108/1.086, allocations: 315.4 kB / 1.227 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000528/1.086, allocations: 259 kB / 1.227 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007046/1.087, allocations: 282.4 kB / 1.227 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/1.087, allocations: 36.84 kB / 1.227 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006891/1.088, allocations: 265.8 kB / 1.228 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002018/1.088, allocations: 150 kB / 1.228 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002991/1.088, allocations: 218.7 kB / 1.228 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009759/1.089, allocations: 0.6127 MB / 1.229 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.089, allocations: 3.938 kB / 1.229 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.302e-06/1.089, allocations: 0 / 1.229 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.606e-06/1.089, allocations: 0 / 1.229 GB, free: 12.27 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.001445/1.091, allocations: 0.7346 MB / 1.229 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/1.091, allocations: 9.812 kB / 1.229 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/1.092, allocations: 153.5 kB / 1.229 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005986/1.092, allocations: 334.9 kB / 1.23 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/1.092, allocations: 32.14 kB / 1.23 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/1.092, allocations: 29.41 kB / 1.23 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009075/1.093, allocations: 0.5355 MB / 1.23 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/1.093, allocations: 5.141 kB / 1.23 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.382e-05/1.093, allocations: 16.62 kB / 1.23 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-05/1.093, allocations: 38.95 kB / 1.23 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006576/1.094, allocations: 387.9 kB / 1.231 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003051/1.097, allocations: 2.408 MB / 1.233 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005511/1.098, allocations: 244.7 kB / 1.233 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/1.098, allocations: 92.81 kB / 1.233 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/1.098, allocations: 8 kB / 1.233 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/1.098, allocations: 38.56 kB / 1.233 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/1.098, allocations: 0 / 1.233 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.002387/1.1, allocations: 1.124 MB / 1.235 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/1.1, allocations: 59.34 kB / 1.235 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/1.101, allocations: 308.4 kB / 1.235 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/1.101, allocations: 29.7 kB / 1.235 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/1.101, allocations: 236.1 kB / 1.235 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.606e-05/1.101, allocations: 83.27 kB / 1.235 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/1.101, allocations: 61.98 kB / 1.235 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.101, allocations: 338.8 kB / 1.236 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/1.102, allocations: 108.6 kB / 1.236 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/1.102, allocations: 191.7 kB / 1.236 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/1.102, allocations: 324.8 kB / 1.236 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/1.102, allocations: 0 / 1.236 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008604/1.103, allocations: 441.8 kB / 1.237 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/1.103, allocations: 8 kB / 1.237 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/1.103, allocations: 4 kB / 1.237 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003779/1.104, allocations: 94.69 kB / 1.237 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/1.104, allocations: 63.91 kB / 1.237 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004448/1.108, allocations: 4.387 MB / 1.241 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/1.109, allocations: 16.02 kB / 1.241 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/1.109, allocations: 12 kB / 1.241 GB, free: 15.05 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.0003614/1.109, allocations: 185.8 kB / 1.241 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.994e-05/1.109, allocations: 39.69 kB / 1.241 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.205e-05/1.109, allocations: 38.41 kB / 1.241 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.109, allocations: 4 kB / 1.241 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.109, allocations: 0 / 1.241 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/1.109, allocations: 0 / 1.241 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005806/1.11, allocations: 397.4 kB / 1.242 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.11, allocations: 0 / 1.242 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/1.11, allocations: 43.84 kB / 1.242 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003003/1.11, allocations: 98.53 kB / 1.242 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/1.11, allocations: 4 kB / 1.242 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003922/1.114, allocations: 4.385 MB / 1.246 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.114, allocations: 3.938 kB / 1.246 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009698/1.115, allocations: 0.559 MB / 1.247 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/1.115, allocations: 128.9 kB / 1.247 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/1.115, allocations: 0 / 1.247 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/1.116, allocations: 15.98 kB / 1.247 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/1.116, allocations: 20.03 kB / 1.247 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/1.116, allocations: 8 kB / 1.247 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002679/1.116, allocations: 211.1 kB / 1.247 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/1.116, allocations: 0 / 1.247 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005582/1.117, allocations: 99.94 kB / 1.247 GB, free: 8.312 MB / 0.9512 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.0001609/1.117, allocations: 107.2 kB / 1.247 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001034/1.118, allocations: 0.5895 MB / 1.248 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.118, allocations: 0.6875 kB / 1.248 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000565/1.118, allocations: 471.9 kB / 1.248 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/1.119, allocations: 60.62 kB / 1.248 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/1.12, allocations: 0.7302 MB / 1.249 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000565/1.121, allocations: 0.8389 MB / 1.25 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002104/1.121, allocations: 66.91 kB / 1.25 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.43e-05/1.121, allocations: 23.44 kB / 1.25 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of SimCode: time 8.21e-07/1.121, allocations: 3.938 kB / 1.25 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of Templates: time 0.01071/1.132, allocations: 4.688 MB / 1.255 GB, free: 0.6484 MB / 0.9512 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.616520704701543]