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.0008988/0.0008988, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0009101/0.0009101, 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.885/0.885, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.804/1.804, allocations: 389 MB / 0.6338 GB, free: 12.7 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.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 2.134e-06/2.134e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.253e-05/3.467e-05, allocations: 6.219 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006034/0.006069, allocations: 4.213 MB / 1.005 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002926/0.008995, allocations: 1.819 MB / 1.007 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.0092, allocations: 11.94 kB / 1.007 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.01047, allocations: 0.5991 MB / 1.007 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005688/0.01104, allocations: 282.2 kB / 1.008 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005705/0.01161, allocations: 245.8 kB / 1.008 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0006518/0.01226, allocations: 0.6381 MB / 1.008 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005946/0.01285, allocations: 347.1 kB / 1.009 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003795/0.01323, allocations: 343.2 kB / 1.009 GB, free: 4.516 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004836/0.01372, allocations: 247.3 kB / 1.009 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.956e-05/0.01378, allocations: 36 kB / 1.009 GB, free: 4.238 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004813/0.01426, allocations: 235.3 kB / 1.01 GB, free: 4.008 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.01445, allocations: 163.5 kB / 1.01 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.01457, allocations: 155.7 kB / 1.01 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005997/0.01517, allocations: 0.6231 MB / 1.011 GB, free: 3.07 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.01518, allocations: 4 kB / 1.011 GB, free: 3.066 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.844e-06/0.01518, allocations: 4 kB / 1.011 GB, free: 3.062 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.01519, allocations: 7.922 kB / 1.011 GB, free: 3.055 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001006/0.0162, allocations: 0.6493 MB / 1.011 GB, free: 2.375 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.01624, allocations: 8.75 kB / 1.011 GB, free: 2.367 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005636/0.0168, allocations: 148.5 kB / 1.011 GB, free: 2.223 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.01717, allocations: 288.4 kB / 1.012 GB, free: 1.918 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.01719, allocations: 33.38 kB / 1.012 GB, free: 1.887 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-05/0.01724, allocations: 36.36 kB / 1.012 GB, free: 1.852 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000628/0.01787, allocations: 0.6787 MB / 1.012 GB, free: 1.098 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.01788, allocations: 192 / 1.012 GB, free: 1.098 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.01791, allocations: 16.36 kB / 1.012 GB, free: 1.082 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.935e-05/0.01795, allocations: 36.58 kB / 1.012 GB, free: 1.047 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004163/0.01837, allocations: 386.3 kB / 1.013 GB, free: 0.6719 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.01991, allocations: 1.664 MB / 1.014 GB, free: 14.94 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.0203, allocations: 240.7 kB / 1.015 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.02041, allocations: 96.81 kB / 1.015 GB, free: 14.6 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.02043, allocations: 4 kB / 1.015 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.02045, allocations: 42.55 kB / 1.015 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=20): time 2.385e-06/0.02045, allocations: 3.938 kB / 1.015 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of matching and sorting (n=23): time 0.001393/0.02185, allocations: 0.8981 MB / 1.016 GB, free: 13.6 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.02188, allocations: 51.41 kB / 1.016 GB, free: 13.54 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.02207, allocations: 273.8 kB / 1.016 GB, free: 13.26 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.02209, allocations: 29.7 kB / 1.016 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.0222, allocations: 240 kB / 1.016 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.02225, allocations: 91.27 kB / 1.016 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/0.02232, allocations: 58.03 kB / 1.016 GB, free: 12.83 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.02245, allocations: 342.8 kB / 1.017 GB, free: 12.48 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.02258, allocations: 96.61 kB / 1.017 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.02274, allocations: 199.7 kB / 1.017 GB, free: 12.16 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.02302, allocations: 311.5 kB / 1.017 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.02302, allocations: 0 / 1.017 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004748/0.02349, allocations: 442 kB / 1.018 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.02351, allocations: 4 kB / 1.018 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.02352, allocations: 4 kB / 1.018 GB, free: 11.36 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002201/0.02374, allocations: 106.6 kB / 1.018 GB, free: 11.25 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.02389, allocations: 59.91 kB / 1.018 GB, free: 11.19 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.026, allocations: 4.017 MB / 1.022 GB, free: 6.867 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.02611, allocations: 8.031 kB / 1.022 GB, free: 6.859 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.02613, allocations: 12 kB / 1.022 GB, free: 6.848 MB / 0.9792 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.000151/0.02628, allocations: 185.8 kB / 1.022 GB, free: 6.656 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.02631, allocations: 31.86 kB / 1.022 GB, free: 6.625 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/0.02635, allocations: 42.27 kB / 1.022 GB, free: 6.582 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.02635, allocations: 3.938 kB / 1.022 GB, free: 6.578 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.02636, allocations: 4 kB / 1.022 GB, free: 6.574 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.02636, allocations: 0 / 1.022 GB, free: 6.574 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.0266, allocations: 281.1 kB / 1.022 GB, free: 6.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.0266, allocations: 0 / 1.022 GB, free: 6.27 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.02671, allocations: 35.97 kB / 1.022 GB, free: 6.234 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/0.02688, allocations: 94.44 kB / 1.022 GB, free: 6.133 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.02689, allocations: 8 kB / 1.022 GB, free: 6.125 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.02872, allocations: 3.997 MB / 1.026 GB, free: 1.82 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.02872, allocations: 0 / 1.026 GB, free: 1.82 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005979/0.02932, allocations: 0.5622 MB / 1.027 GB, free: 1.234 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.327e-05/0.02939, allocations: 39.88 kB / 1.027 GB, free: 1.195 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.02941, allocations: 8 kB / 1.027 GB, free: 1.188 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.02951, allocations: 11.98 kB / 1.027 GB, free: 1.176 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.02956, allocations: 19.97 kB / 1.027 GB, free: 1.156 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.02957, allocations: 4 kB / 1.027 GB, free: 1.152 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001217/0.02969, allocations: 189.2 kB / 1.027 GB, free: 0.9688 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.02969, allocations: 0 / 1.027 GB, free: 0.9688 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003299/0.03002, allocations: 103.9 kB / 1.027 GB, free: 0.8672 MB / 0.9792 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.0001189/0.03014, allocations: 103.3 kB / 1.027 GB, free: 0.7578 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005583/0.0307, allocations: 0.5904 MB / 1.028 GB, free: 132 kB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.0307, allocations: 4.062 kB / 1.028 GB, free: 128 kB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.03098, allocations: 463.8 kB / 1.028 GB, free: 15.63 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.03132, allocations: 68.94 kB / 1.028 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008793/0.0322, allocations: 0.7165 MB / 1.029 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.03236, allocations: 228 kB / 1.029 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.03242, allocations: 24.5 kB / 1.029 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of SimCode: time 8.32e-07/0.03242, allocations: 0 / 1.029 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of Templates: time 0.007312/0.03973, allocations: 8.688 MB / 1.038 GB, free: 5.867 MB / 0.9948 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: 7.3672175435349345]