Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00187/0.00187, allocations: 79.44 kB / 19.18 MB, free: 2.52 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.001842/0.001842, allocations: 167.2 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.578/1.578, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.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.145/3.145, allocations: 389 MB / 0.633 GB, free: 0.9688 MB / 0.5919 GB " [Timeout remaining time 176] 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.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.DC.Lines.Examples.RCModel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.825e-05/4.011e-05, allocations: 2.281 kB / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006903/0.006943, allocations: 4.215 MB / 1.004 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003518/0.01046, allocations: 1.819 MB / 1.006 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.01068, allocations: 15.88 kB / 1.006 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001932/0.01261, allocations: 0.5904 MB / 1.007 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006834/0.01329, allocations: 278.2 kB / 1.007 GB, free: 360 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007486/0.01404, allocations: 259.2 kB / 1.007 GB, free: 100 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0008599/0.0149, allocations: 0.6227 MB / 1.008 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006833/0.01559, allocations: 347.1 kB / 1.008 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004765/0.01606, allocations: 355.1 kB / 1.008 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005218/0.01658, allocations: 239.3 kB / 1.009 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.687e-05/0.01666, allocations: 36 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000492/0.01715, allocations: 235.3 kB / 1.009 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.01737, allocations: 167.5 kB / 1.009 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002266/0.0176, allocations: 155.6 kB / 1.009 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000923/0.01852, allocations: 0.627 MB / 1.01 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.01853, allocations: 0 / 1.01 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.763e-06/0.01853, allocations: 0 / 1.01 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.562e-05/0.01855, allocations: 0 / 1.01 GB, free: 13.34 MB / 0.9669 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.001463/0.02001, allocations: 0.657 MB / 1.01 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.02005, allocations: 12.03 kB / 1.01 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.02109, allocations: 152.5 kB / 1.011 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005096/0.0216, allocations: 288.5 kB / 1.011 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.02163, allocations: 21.38 kB / 1.011 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.091e-05/0.0217, allocations: 32.38 kB / 1.011 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.02275, allocations: 0.6864 MB / 1.012 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.02277, allocations: 4.125 kB / 1.012 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.02282, allocations: 12.38 kB / 1.012 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-05/0.02288, allocations: 36.58 kB / 1.012 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006682/0.02355, allocations: 386.3 kB / 1.012 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.02613, allocations: 1.664 MB / 1.014 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005768/0.02671, allocations: 242.5 kB / 1.014 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.02688, allocations: 96.81 kB / 1.014 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.02689, allocations: 0 / 1.014 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.854e-05/0.02694, allocations: 42.5 kB / 1.014 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.02694, allocations: 0 / 1.014 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23): time 0.002397/0.02934, allocations: 0.9052 MB / 1.015 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.02939, allocations: 59.39 kB / 1.015 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.02973, allocations: 269.8 kB / 1.015 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.02976, allocations: 33.7 kB / 1.015 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.02995, allocations: 240 kB / 1.015 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9e-05/0.03004, allocations: 87.22 kB / 1.016 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.03015, allocations: 58.03 kB / 1.016 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.03035, allocations: 342.8 kB / 1.016 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.03053, allocations: 104.6 kB / 1.016 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.0308, allocations: 191.7 kB / 1.016 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004793/0.03128, allocations: 319.5 kB / 1.017 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.03128, allocations: 0 / 1.017 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008211/0.0321, allocations: 441.9 kB / 1.017 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.03212, allocations: 11.98 kB / 1.017 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.03213, allocations: 0 / 1.017 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000397/0.03252, allocations: 106.7 kB / 1.017 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.03282, allocations: 63.91 kB / 1.017 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003797/0.03661, allocations: 4 MB / 1.021 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.03683, allocations: 8 kB / 1.021 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.03686, allocations: 12 kB / 1.021 GB, free: 1.121 MB / 0.9669 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.0002465/0.0371, allocations: 185.9 kB / 1.021 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.03717, allocations: 23.86 kB / 1.021 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.849e-05/0.03726, allocations: 38.27 kB / 1.021 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.03726, allocations: 4 kB / 1.021 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.03727, allocations: 0 / 1.021 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.03727, allocations: 3.984 kB / 1.021 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/0.03767, allocations: 285.1 kB / 1.022 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.03768, allocations: 0 / 1.022 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.03788, allocations: 31.92 kB / 1.022 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000325/0.0382, allocations: 106.4 kB / 1.022 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.03822, allocations: 0 / 1.022 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003868/0.04209, allocations: 3.998 MB / 1.026 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.04209, allocations: 0 / 1.026 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.0431, allocations: 0.5585 MB / 1.026 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.04323, allocations: 51.81 kB / 1.026 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.04327, allocations: 0 / 1.026 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.04348, allocations: 12 kB / 1.026 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.51e-05/0.04355, allocations: 19.95 kB / 1.026 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.04357, allocations: 4 kB / 1.026 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002232/0.04379, allocations: 189.2 kB / 1.026 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.04379, allocations: 4 kB / 1.026 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005256/0.04432, allocations: 99.94 kB / 1.026 GB, free: 11.14 MB / 0.9825 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.0001789/0.0445, allocations: 111.2 kB / 1.027 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009911/0.04549, allocations: 0.5822 MB / 1.027 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.04549, allocations: 0 / 1.027 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005793/0.04607, allocations: 466.8 kB / 1.028 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/0.04657, allocations: 79.7 kB / 1.028 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.04795, allocations: 0.6708 MB / 1.028 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.04822, allocations: 232 kB / 1.029 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001758/0.0484, allocations: 50.94 kB / 1.029 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.397e-05/0.04846, allocations: 24.5 kB / 1.029 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of SimCode: time 6.71e-07/0.04846, allocations: 7.938 kB / 1.029 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of Templates: time 0.009953/0.05841, allocations: 4.312 MB / 1.033 GB, free: 4.578 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.534990340471268]