Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.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.001631/0.001631, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001846/0.001846, allocations: 220.4 kB / 23 MB, free: 4.914 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.433/3.433, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 70.08 kB / 1.187 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3671, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005303/0.3724, allocations: 3.065 MB / 1.368 GB, free: 10.51 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002645/0.3751, allocations: 1.317 MB / 1.369 GB, free: 9.184 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.3752, allocations: 11.94 kB / 1.369 GB, free: 9.172 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.3764, allocations: 326.8 kB / 1.369 GB, free: 8.852 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003954/0.3767, allocations: 151.2 kB / 1.369 GB, free: 8.703 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.3771, allocations: 146.1 kB / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004018/0.3775, allocations: 303 kB / 1.37 GB, free: 8.266 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004406/0.378, allocations: 180.5 kB / 1.37 GB, free: 8.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.3782, allocations: 131.5 kB / 1.37 GB, free: 7.961 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003314/0.3785, allocations: 127.5 kB / 1.37 GB, free: 7.836 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.3785, allocations: 24 kB / 1.37 GB, free: 7.812 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002915/0.3788, allocations: 155.6 kB / 1.37 GB, free: 7.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.3789, allocations: 87.72 kB / 1.37 GB, free: 7.574 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.379, allocations: 87.59 kB / 1.371 GB, free: 7.488 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.3795, allocations: 338.8 kB / 1.371 GB, free: 7.156 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.3795, allocations: 3.984 kB / 1.371 GB, free: 7.152 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3795, allocations: 0 / 1.371 GB, free: 7.152 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.3795, allocations: 0 / 1.371 GB, free: 7.152 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008846/0.3804, allocations: 445.5 kB / 1.371 GB, free: 6.684 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3805, allocations: 16.03 kB / 1.371 GB, free: 6.668 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005922/0.381, allocations: 80.72 kB / 1.371 GB, free: 6.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.3814, allocations: 187.7 kB / 1.372 GB, free: 6.383 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.3814, allocations: 12.75 kB / 1.372 GB, free: 6.371 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.3815, allocations: 16.38 kB / 1.372 GB, free: 6.355 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005496/0.382, allocations: 384.6 kB / 1.372 GB, free: 5.941 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.382, allocations: 11.94 kB / 1.372 GB, free: 5.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.382, allocations: 7.938 kB / 1.372 GB, free: 5.922 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-05/0.3821, allocations: 16.38 kB / 1.372 GB, free: 5.906 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003488/0.3824, allocations: 200.9 kB / 1.372 GB, free: 5.711 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.3839, allocations: 0.981 MB / 1.373 GB, free: 4.668 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.3841, allocations: 102.5 kB / 1.373 GB, free: 4.559 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.208e-05/0.3842, allocations: 28.84 kB / 1.373 GB, free: 4.527 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.3842, allocations: 4 kB / 1.373 GB, free: 4.523 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.3842, allocations: 30.56 kB / 1.373 GB, free: 4.484 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.3842, allocations: 0 / 1.373 GB, free: 4.484 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004813/0.3847, allocations: 150.3 kB / 1.373 GB, free: 4.328 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.3847, allocations: 51.41 kB / 1.373 GB, free: 4.266 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.3849, allocations: 182.3 kB / 1.374 GB, free: 4.078 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.385, allocations: 29.7 kB / 1.374 GB, free: 4.043 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.3851, allocations: 172 kB / 1.374 GB, free: 3.871 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.3851, allocations: 27.94 kB / 1.374 GB, free: 3.844 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.739e-05/0.3852, allocations: 45.56 kB / 1.374 GB, free: 3.793 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3853, allocations: 322.8 kB / 1.374 GB, free: 3.469 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.79e-05/0.3854, allocations: 35.98 kB / 1.374 GB, free: 3.434 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.3855, allocations: 100.5 kB / 1.374 GB, free: 3.305 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.3858, allocations: 148.4 kB / 1.374 GB, free: 3.129 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3858, allocations: 0 / 1.374 GB, free: 3.129 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003614/0.3861, allocations: 186.5 kB / 1.375 GB, free: 2.938 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3861, allocations: 8.031 kB / 1.375 GB, free: 2.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3861, allocations: 8 kB / 1.375 GB, free: 2.922 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001684/0.3863, allocations: 24.94 kB / 1.375 GB, free: 2.895 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.3864, allocations: 35.86 kB / 1.375 GB, free: 2.859 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.3877, allocations: 1.284 MB / 1.376 GB, free: 1.469 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.3878, allocations: 24 kB / 1.376 GB, free: 1.445 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.3878, allocations: 8.047 kB / 1.376 GB, free: 1.438 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001619/0.388, allocations: 154.8 kB / 1.376 GB, free: 1.277 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.388, allocations: 11.89 kB / 1.376 GB, free: 1.266 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.388, allocations: 17.39 kB / 1.376 GB, free: 1.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.388, allocations: 3.938 kB / 1.376 GB, free: 1.246 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.388, allocations: 4 kB / 1.376 GB, free: 1.242 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.388, allocations: 0 / 1.376 GB, free: 1.242 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005258/0.3886, allocations: 370.9 kB / 1.377 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3886, allocations: 4 kB / 1.377 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/0.3886, allocations: 8 kB / 1.377 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.04e-05/0.3887, allocations: 20.84 kB / 1.377 GB, free: 0.8047 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.3887, allocations: 0 / 1.377 GB, free: 0.8047 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.3899, allocations: 1.299 MB / 1.378 GB, free: 15.4 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3899, allocations: 4.156 kB / 1.378 GB, free: 15.4 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.3901, allocations: 208.3 kB / 1.378 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.3902, allocations: 15.84 kB / 1.378 GB, free: 15.16 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.3902, allocations: 11.98 kB / 1.378 GB, free: 15.15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3903, allocations: 0 / 1.378 GB, free: 15.15 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.3903, allocations: 7.984 kB / 1.378 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.3903, allocations: 4 kB / 1.378 GB, free: 15.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001332/0.3905, allocations: 132.8 kB / 1.378 GB, free: 15.01 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3905, allocations: 0 / 1.378 GB, free: 15.01 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003447/0.3908, allocations: 51.89 kB / 1.378 GB, free: 14.96 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001143/0.3909, allocations: 99.19 kB / 1.378 GB, free: 14.85 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000386/0.3913, allocations: 210.5 kB / 1.379 GB, free: 14.63 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3913, allocations: 0 / 1.379 GB, free: 14.63 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.3915, allocations: 142.7 kB / 1.379 GB, free: 14.48 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.3918, allocations: 34.09 kB / 1.379 GB, free: 14.45 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007511/0.3926, allocations: 396.7 kB / 1.379 GB, free: 14.03 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.3928, allocations: 135.9 kB / 1.379 GB, free: 13.88 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.3928, allocations: 19.38 kB / 1.379 GB, free: 13.86 MB / 1.076 GB Notification: Performance of SimCode: time 4.01e-07/0.3928, allocations: 0 / 1.379 GB, free: 13.86 MB / 1.076 GB Notification: Performance of Templates: time 0.005716/0.3985, allocations: 2.987 MB / 1.382 GB, free: 10.88 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.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: 12.19715391471982]