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.0007772/0.0007772, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007747/0.0007747, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8876/0.8876, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.751/1.751, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.447e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.002844/0.002859, allocations: 3.041 MB / 1.004 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.004256, allocations: 1.301 MB / 1.005 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.94e-05/0.004346, allocations: 7.938 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005805/0.004926, allocations: 330.7 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.005143, allocations: 159 kB / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.005327, allocations: 138.8 kB / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000246/0.005573, allocations: 318.7 kB / 1.006 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000289/0.005862, allocations: 180.6 kB / 1.006 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.006002, allocations: 175.6 kB / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.006212, allocations: 123.6 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.006236, allocations: 20 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.006408, allocations: 155.5 kB / 1.007 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.031e-05/0.006478, allocations: 87.72 kB / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.243e-05/0.006541, allocations: 79.83 kB / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.006841, allocations: 343 kB / 1.007 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.006843, allocations: 0 / 1.007 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.72e-07/0.006844, allocations: 0 / 1.007 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.006849, allocations: 4 kB / 1.007 GB, free: 6.566 MB / 0.9636 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.0005194/0.007369, allocations: 461.3 kB / 1.008 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.007401, allocations: 12.75 kB / 1.008 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003091/0.00771, allocations: 80.72 kB / 1.008 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.007913, allocations: 181.5 kB / 1.008 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.007926, allocations: 16.75 kB / 1.008 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.007947, allocations: 20.38 kB / 1.008 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.00827, allocations: 373.3 kB / 1.008 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.008281, allocations: 4.188 kB / 1.008 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.008298, allocations: 4.375 kB / 1.008 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/0.008326, allocations: 28.3 kB / 1.008 GB, free: 5.312 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.008537, allocations: 189 kB / 1.008 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007896/0.009327, allocations: 0.9851 MB / 1.009 GB, free: 4.086 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.009494, allocations: 94.55 kB / 1.009 GB, free: 3.984 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.818e-05/0.009532, allocations: 28.84 kB / 1.01 GB, free: 3.953 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.131e-06/0.009538, allocations: 4 kB / 1.01 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.009559, allocations: 38.5 kB / 1.01 GB, free: 3.902 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.00956, allocations: 0 / 1.01 GB, free: 3.902 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0002924/0.009853, allocations: 158.5 kB / 1.01 GB, free: 3.738 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.009877, allocations: 51.41 kB / 1.01 GB, free: 3.676 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.01, allocations: 186.3 kB / 1.01 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.01001, allocations: 29.69 kB / 1.01 GB, free: 3.449 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.01008, allocations: 168 kB / 1.01 GB, free: 3.281 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.0101, allocations: 35.67 kB / 1.01 GB, free: 3.246 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.01014, allocations: 25.72 kB / 1.01 GB, free: 3.215 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.513e-05/0.01021, allocations: 326.8 kB / 1.011 GB, free: 2.887 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.235e-05/0.01025, allocations: 31.98 kB / 1.011 GB, free: 2.855 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.01033, allocations: 100.6 kB / 1.011 GB, free: 2.727 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.01045, allocations: 156.4 kB / 1.011 GB, free: 2.543 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.01045, allocations: 4 kB / 1.011 GB, free: 2.539 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001863/0.01064, allocations: 194.1 kB / 1.011 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.01065, allocations: 4 kB / 1.011 GB, free: 2.336 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01066, allocations: 4 kB / 1.011 GB, free: 2.332 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001028/0.01076, allocations: 28.78 kB / 1.011 GB, free: 2.301 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.162e-05/0.01082, allocations: 31.92 kB / 1.011 GB, free: 2.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007748/0.01159, allocations: 1.289 MB / 1.012 GB, free: 0.8789 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.09e-05/0.01166, allocations: 15.89 kB / 1.012 GB, free: 0.8633 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.01166, allocations: 8.047 kB / 1.012 GB, free: 0.8555 MB / 0.9636 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 8.797e-05/0.01175, allocations: 149.8 kB / 1.012 GB, free: 0.6992 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.01177, allocations: 11.91 kB / 1.012 GB, free: 0.6875 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.382e-05/0.01178, allocations: 13.47 kB / 1.012 GB, free: 0.6758 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01179, allocations: 3.938 kB / 1.012 GB, free: 0.6719 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.01179, allocations: 8.125 kB / 1.012 GB, free: 0.6641 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.01179, allocations: 0 / 1.012 GB, free: 0.6641 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.01208, allocations: 370.8 kB / 1.013 GB, free: 268 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.01208, allocations: 0 / 1.013 GB, free: 268 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.96e-05/0.0121, allocations: 12 kB / 1.013 GB, free: 256 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.762e-05/0.01215, allocations: 20.78 kB / 1.013 GB, free: 232 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.01215, allocations: 4.094 kB / 1.013 GB, free: 228 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005717/0.01272, allocations: 1.295 MB / 1.014 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01273, allocations: 0 / 1.014 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.01286, allocations: 212.2 kB / 1.014 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.01288, allocations: 15.94 kB / 1.014 GB, free: 14.58 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-06/0.01289, allocations: 4 kB / 1.014 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.634e-05/0.01295, allocations: 3.938 kB / 1.014 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/0.01297, allocations: 11.98 kB / 1.014 GB, free: 14.56 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.01297, allocations: 0 / 1.014 GB, free: 14.56 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 7.077e-05/0.01304, allocations: 137.8 kB / 1.015 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.01304, allocations: 0 / 1.015 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002143/0.01326, allocations: 55.84 kB / 1.015 GB, free: 14.37 MB / 0.9792 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 7.151e-05/0.01333, allocations: 99.97 kB / 1.015 GB, free: 14.27 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.01357, allocations: 198.6 kB / 1.015 GB, free: 14.06 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01357, allocations: 0.5625 kB / 1.015 GB, free: 14.06 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 7.847e-05/0.01365, allocations: 154.6 kB / 1.015 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.01387, allocations: 22.39 kB / 1.015 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.01431, allocations: 381.7 kB / 1.015 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.255e-05/0.01441, allocations: 147.8 kB / 1.016 GB, free: 13.31 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.01444, allocations: 16.44 kB / 1.016 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of SimCode: time 4.11e-07/0.01444, allocations: 4 kB / 1.016 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of Templates: time 0.003237/0.01767, allocations: 2.98 MB / 1.018 GB, free: 10.31 MB / 0.9792 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/jenkins/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: 6.8858263390138745]