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.001853/0.001853, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002269/0.002269, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.624/1.624, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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.358/3.358, allocations: 429.6 MB / 0.673 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.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.904e-06/1.904e-06, allocations: 0 / 0.8776 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.13e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007299/0.00733, allocations: 4.226 MB / 0.8817 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003726/0.01106, allocations: 1.82 MB / 0.8835 GB, free: 488 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.01125, allocations: 15.88 kB / 0.8835 GB, free: 472 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.01313, allocations: 0.5934 MB / 0.8841 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006577/0.01379, allocations: 274.3 kB / 0.8843 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008454/0.01464, allocations: 251.2 kB / 0.8846 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008652/0.0155, allocations: 0.6304 MB / 0.8852 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007252/0.01623, allocations: 343.1 kB / 0.8855 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005251/0.01675, allocations: 351.2 kB / 0.8858 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005514/0.0173, allocations: 247.3 kB / 0.8861 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.4e-05/0.01738, allocations: 36 kB / 0.8861 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004856/0.01786, allocations: 235.3 kB / 0.8863 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.01807, allocations: 163.5 kB / 0.8865 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.01831, allocations: 151.7 kB / 0.8866 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009516/0.01926, allocations: 0.6308 MB / 0.8873 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.01927, allocations: 4 kB / 0.8873 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.143e-06/0.01927, allocations: 0 / 0.8873 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.01928, allocations: 4 kB / 0.8873 GB, free: 12.58 MB / 0.8542 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.001454/0.02073, allocations: 0.6531 MB / 0.8879 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.02078, allocations: 12.03 kB / 0.8879 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.02196, allocations: 220.3 kB / 0.8881 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005417/0.0225, allocations: 284.5 kB / 0.8884 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.02254, allocations: 29.3 kB / 0.8884 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.503e-05/0.02263, allocations: 44.38 kB / 0.8885 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.02371, allocations: 0.6787 MB / 0.8891 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.02373, allocations: 192 / 0.8891 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/0.02378, allocations: 16.38 kB / 0.8891 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.857e-05/0.02385, allocations: 36.56 kB / 0.8892 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006855/0.02453, allocations: 386.3 kB / 0.8895 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002735/0.02727, allocations: 1.664 MB / 0.8912 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006296/0.0279, allocations: 247.1 kB / 0.8914 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003472/0.02824, allocations: 100.8 kB / 0.8915 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.02826, allocations: 0 / 0.8915 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.0283, allocations: 34.56 kB / 0.8915 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.302e-06/0.0283, allocations: 4 kB / 0.8915 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.002482/0.03078, allocations: 0.9033 MB / 0.8924 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.03084, allocations: 55.41 kB / 0.8925 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.0312, allocations: 277.7 kB / 0.8927 GB, free: 6.707 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.03123, allocations: 33.64 kB / 0.8928 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.03144, allocations: 244 kB / 0.893 GB, free: 6.426 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.248e-05/0.03153, allocations: 87.33 kB / 0.8931 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.03166, allocations: 57.98 kB / 0.8931 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.03186, allocations: 342.8 kB / 0.8935 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.03206, allocations: 108.6 kB / 0.8936 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.03233, allocations: 187.7 kB / 0.8938 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004926/0.03282, allocations: 317.6 kB / 0.8941 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.03282, allocations: 0 / 0.8941 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008958/0.03372, allocations: 458 kB / 0.8945 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.03374, allocations: 10.5 kB / 0.8945 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.03375, allocations: 4 kB / 0.8945 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006958/0.03445, allocations: 130.6 kB / 0.8946 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.03475, allocations: 63.91 kB / 0.8947 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004434/0.03918, allocations: 4.009 MB / 0.8986 GB, free: 272 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.03942, allocations: 12.03 kB / 0.8986 GB, free: 260 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.03945, allocations: 16 kB / 0.8986 GB, free: 244 kB / 0.8542 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.0003034/0.03975, allocations: 185.6 kB / 0.8988 GB, free: 48 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.03985, allocations: 39.81 kB / 0.8988 GB, free: 8 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.03995, allocations: 42.2 kB / 0.8989 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.03995, allocations: 0 / 0.8989 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.03997, allocations: 4 kB / 0.8989 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.03997, allocations: 4.094 kB / 0.8989 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000451/0.04042, allocations: 285.1 kB / 0.8992 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.04043, allocations: 4 kB / 0.8992 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.04064, allocations: 31.97 kB / 0.8992 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006146/0.04125, allocations: 126.5 kB / 0.8993 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.04127, allocations: 4 kB / 0.8993 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004058/0.04533, allocations: 4.006 MB / 0.9032 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.04533, allocations: 4.062 kB / 0.9032 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.04636, allocations: 0.5659 MB / 0.9038 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.04648, allocations: 43.86 kB / 0.9038 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.04652, allocations: 4 kB / 0.9038 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.04674, allocations: 11.98 kB / 0.9039 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.0468, allocations: 23.91 kB / 0.9039 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.04682, allocations: 8.062 kB / 0.9039 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002381/0.04706, allocations: 189.2 kB / 0.9041 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9e-08/0.04706, allocations: 0 / 0.9041 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005609/0.04762, allocations: 103.9 kB / 0.9042 GB, free: 10.2 MB / 0.8698 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.000213/0.04784, allocations: 99.23 kB / 0.9043 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.04897, allocations: 0.5936 MB / 0.9048 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.04898, allocations: 4 kB / 0.9048 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008151/0.04979, allocations: 467.6 kB / 0.9053 GB, free: 8.957 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.05036, allocations: 65.14 kB / 0.9053 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.05188, allocations: 0.6878 MB / 0.906 GB, free: 8.168 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.05217, allocations: 227.8 kB / 0.9062 GB, free: 7.926 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001842/0.05235, allocations: 54.94 kB / 0.9063 GB, free: 7.875 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.719e-05/0.05243, allocations: 24.5 kB / 0.9063 GB, free: 7.852 MB / 0.8698 GB Notification: Performance of SimCode: time 7.42e-07/0.05243, allocations: 0 / 0.9063 GB, free: 7.852 MB / 0.8698 GB Notification: Performance of Templates: time 0.01044/0.06287, allocations: 4.363 MB / 0.9106 GB, free: 3.578 MB / 0.8698 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.06838566204533]