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.002452/0.002452, allocations: 85.48 kB / 19.44 MB, free: 344 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.00327/0.00327, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.714/1.714, allocations: 177.1 MB / 203.1 MB, free: 5.422 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.469/3.469, allocations: 429.5 MB / 0.6729 GB, free: 4.008 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.654e-06/1.654e-06, allocations: 0 / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.103e-05/3.268e-05, allocations: 3.188 kB / 0.8774 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.008346/0.008378, allocations: 4.429 MB / 0.8817 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00432/0.0127, allocations: 1.889 MB / 0.8836 GB, free: 368 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004576/0.01316, allocations: 11.94 kB / 0.8836 GB, free: 356 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.002146/0.0153, allocations: 0.6012 MB / 0.8842 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0009754/0.01628, allocations: 284.4 kB / 0.8845 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008255/0.0171, allocations: 246.5 kB / 0.8847 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001116/0.01822, allocations: 0.6343 MB / 0.8853 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008159/0.01904, allocations: 347.1 kB / 0.8856 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008169/0.01985, allocations: 351.2 kB / 0.886 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008168/0.02067, allocations: 252.6 kB / 0.8862 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.02077, allocations: 36 kB / 0.8863 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005801/0.02135, allocations: 232.4 kB / 0.8865 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003537/0.02171, allocations: 171.5 kB / 0.8866 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.02199, allocations: 151.7 kB / 0.8868 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.02317, allocations: 0.6386 MB / 0.8874 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.02317, allocations: 0 / 0.8874 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.473e-06/0.02317, allocations: 0 / 0.8874 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.621e-05/0.0232, allocations: 4 kB / 0.8874 GB, free: 12.44 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.001981/0.02518, allocations: 0.78 MB / 0.8882 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.02523, allocations: 12.03 kB / 0.8882 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.02655, allocations: 220.3 kB / 0.8884 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006546/0.02721, allocations: 287.3 kB / 0.8887 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.68e-05/0.02725, allocations: 29.36 kB / 0.8887 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.632e-05/0.02734, allocations: 36.31 kB / 0.8887 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.02835, allocations: 0.558 MB / 0.8893 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.02837, allocations: 192 / 0.8893 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-05/0.02842, allocations: 16.38 kB / 0.8893 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.495e-05/0.02849, allocations: 40.56 kB / 0.8893 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004854/0.02897, allocations: 190.4 kB / 0.8895 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003288/0.03226, allocations: 2.125 MB / 0.8916 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005173/0.03278, allocations: 187 kB / 0.8918 GB, free: 7.746 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.03292, allocations: 60.02 kB / 0.8918 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.03294, allocations: 7.953 kB / 0.8918 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.03298, allocations: 41.39 kB / 0.8919 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.03298, allocations: 0 / 0.8919 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.002289/0.03527, allocations: 0.7202 MB / 0.8926 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.03532, allocations: 51.41 kB / 0.8926 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/0.03575, allocations: 356.2 kB / 0.893 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.03579, allocations: 37.7 kB / 0.893 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.03606, allocations: 298.7 kB / 0.8933 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.03619, allocations: 95.22 kB / 0.8934 GB, free: 5.996 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000253/0.03644, allocations: 71.64 kB / 0.8934 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003127/0.03675, allocations: 0.5196 MB / 0.894 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.0369, allocations: 60.62 kB / 0.894 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.03717, allocations: 189.7 kB / 0.8942 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/0.03759, allocations: 267.5 kB / 0.8944 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.03759, allocations: 0 / 0.8944 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008184/0.03841, allocations: 370.5 kB / 0.8948 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.03843, allocations: 8 kB / 0.8948 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.03844, allocations: 0 / 0.8948 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006907/0.03913, allocations: 127.2 kB / 0.8949 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.03942, allocations: 71.89 kB / 0.895 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00495/0.04437, allocations: 5.362 MB / 0.9002 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.04459, allocations: 12 kB / 0.9002 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.04462, allocations: 12 kB / 0.9003 GB, free: 14.43 MB / 0.8698 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.0003213/0.04494, allocations: 192.4 kB / 0.9004 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.04505, allocations: 39.94 kB / 0.9005 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.655e-05/0.04513, allocations: 38.27 kB / 0.9005 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.04514, allocations: 4 kB / 0.9005 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.04515, allocations: 3.938 kB / 0.9005 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.04515, allocations: 0 / 0.9005 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005176/0.04567, allocations: 316.4 kB / 0.9008 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.04567, allocations: 0 / 0.9008 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.04587, allocations: 31.98 kB / 0.9009 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005946/0.04646, allocations: 126.9 kB / 0.901 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.04649, allocations: 8 kB / 0.901 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005032/0.05152, allocations: 5.362 MB / 0.9062 GB, free: 7.898 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.05152, allocations: 0 / 0.9062 GB, free: 7.898 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009465/0.05247, allocations: 472.9 kB / 0.9067 GB, free: 7.406 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.05265, allocations: 43.78 kB / 0.9067 GB, free: 7.363 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.05269, allocations: 11.94 kB / 0.9067 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.05291, allocations: 16.14 kB / 0.9067 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.05299, allocations: 15.97 kB / 0.9068 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.05301, allocations: 8 kB / 0.9068 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000307/0.05332, allocations: 241.1 kB / 0.907 GB, free: 7.074 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.1e-08/0.05332, allocations: 0 / 0.907 GB, free: 7.074 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005673/0.05388, allocations: 95.94 kB / 0.9071 GB, free: 6.98 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.0001909/0.05408, allocations: 106.5 kB / 0.9072 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.05534, allocations: 0.704 MB / 0.9079 GB, free: 6.109 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.05534, allocations: 0 / 0.9079 GB, free: 6.109 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007552/0.05609, allocations: 0.5999 MB / 0.9085 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.0566, allocations: 76.81 kB / 0.9085 GB, free: 5.379 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.05809, allocations: 0.6589 MB / 0.9092 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.05839, allocations: 215.8 kB / 0.9094 GB, free: 4.449 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001892/0.05858, allocations: 46.95 kB / 0.9094 GB, free: 4.406 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.46e-05/0.05865, allocations: 28.48 kB / 0.9095 GB, free: 4.379 MB / 0.8698 GB Notification: Performance of SimCode: time 1.072e-06/0.05865, allocations: 0 / 0.9095 GB, free: 4.379 MB / 0.8698 GB Notification: Performance of Templates: time 0.01221/0.07086, allocations: 4.401 MB / 0.9138 GB, free: 68 kB / 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] 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.396791912033223]