Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001591/0.001591, allocations: 79.5 kB / 19.18 MB, free: 2.527 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.001743/0.001743, allocations: 166.6 kB / 22.46 MB, free: 5.367 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.556/1.556, allocations: 177.2 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 3.008/3.008, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Electrical.DC.Lines.Examples.RCModel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.926e-05/4.16e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007346/0.007388, allocations: 4.216 MB / 0.9551 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003919/0.01131, allocations: 1.831 MB / 0.9568 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003784/0.01169, allocations: 11.94 kB / 0.9569 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.01368, allocations: 0.5951 MB / 0.9574 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009002/0.01458, allocations: 266.3 kB / 0.9577 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008531/0.01543, allocations: 262.6 kB / 0.9579 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001053/0.01648, allocations: 0.6305 MB / 0.9586 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008045/0.01729, allocations: 347.1 kB / 0.9589 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007075/0.018, allocations: 355.1 kB / 0.9592 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006729/0.01867, allocations: 239.3 kB / 0.9595 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.986e-05/0.01877, allocations: 36 kB / 0.9595 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006115/0.01938, allocations: 239.3 kB / 0.9597 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000245/0.01963, allocations: 167.5 kB / 0.9599 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002669/0.01989, allocations: 159.7 kB / 0.96 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.02099, allocations: 0.623 MB / 0.9606 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.021, allocations: 4 kB / 0.9606 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.113e-06/0.021, allocations: 0 / 0.9606 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.916e-05/0.02102, allocations: 0 / 0.9606 GB, free: 1.629 MB / 0.8575 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.001577/0.0226, allocations: 0.6609 MB / 0.9613 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.02265, allocations: 12.03 kB / 0.9613 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.02376, allocations: 148.5 kB / 0.9614 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005952/0.02435, allocations: 272.6 kB / 0.9617 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.02439, allocations: 25.38 kB / 0.9617 GB, free: 476 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-05/0.02447, allocations: 36.36 kB / 0.9618 GB, free: 440 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.02567, allocations: 0.6787 MB / 0.9624 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.0257, allocations: 4.125 kB / 0.9624 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.888e-05/0.02576, allocations: 24.3 kB / 0.9625 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.708e-05/0.02584, allocations: 36.58 kB / 0.9625 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007583/0.0266, allocations: 386.3 kB / 0.9629 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003038/0.02964, allocations: 1.656 MB / 0.9645 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006573/0.03029, allocations: 238.5 kB / 0.9647 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.0305, allocations: 104.8 kB / 0.9648 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.03052, allocations: 4 kB / 0.9648 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.03056, allocations: 30.56 kB / 0.9648 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 1.884e-06/0.03057, allocations: 4 kB / 0.9648 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.002481/0.03305, allocations: 0.9054 MB / 0.9657 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.03309, allocations: 55.41 kB / 0.9658 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.0334, allocations: 277.7 kB / 0.966 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.03344, allocations: 33.7 kB / 0.9661 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.03365, allocations: 236 kB / 0.9663 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.479e-05/0.03374, allocations: 83.31 kB / 0.9664 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.03386, allocations: 65.98 kB / 0.9664 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.03403, allocations: 338.8 kB / 0.9668 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.03421, allocations: 104.6 kB / 0.9669 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.03446, allocations: 183.7 kB / 0.967 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004681/0.03493, allocations: 325.6 kB / 0.9673 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.03493, allocations: 4 kB / 0.9674 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008117/0.03574, allocations: 437.9 kB / 0.9678 GB, free: 9.941 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.03576, allocations: 4 kB / 0.9678 GB, free: 9.938 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.03577, allocations: 8.344 kB / 0.9678 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000409/0.03618, allocations: 98.5 kB / 0.9679 GB, free: 9.824 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.03648, allocations: 63.89 kB / 0.9679 GB, free: 9.762 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00371/0.04019, allocations: 3.989 MB / 0.9718 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.04045, allocations: 16.27 kB / 0.9718 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.04047, allocations: 16 kB / 0.9719 GB, free: 5.434 MB / 0.8731 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.0002527/0.04073, allocations: 181.6 kB / 0.972 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/0.0408, allocations: 31.95 kB / 0.9721 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.411e-05/0.04088, allocations: 42.25 kB / 0.9721 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.04089, allocations: 4 kB / 0.9721 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.04089, allocations: 0 / 0.9721 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.0409, allocations: 0 / 0.9721 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004322/0.04133, allocations: 293.1 kB / 0.9724 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.04133, allocations: 4 kB / 0.9724 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.04154, allocations: 35.92 kB / 0.9724 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003286/0.04187, allocations: 86.5 kB / 0.9725 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.04189, allocations: 4 kB / 0.9725 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003789/0.04568, allocations: 4 MB / 0.9764 GB, free: 420 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.04568, allocations: 0 / 0.9764 GB, free: 420 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000947/0.04662, allocations: 0.5571 MB / 0.977 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.04675, allocations: 47.83 kB / 0.977 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.04679, allocations: 11.92 kB / 0.977 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.047, allocations: 12 kB / 0.977 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.945e-05/0.04707, allocations: 16.12 kB / 0.977 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.04709, allocations: 12.09 kB / 0.9771 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002079/0.04729, allocations: 189.2 kB / 0.9772 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.04729, allocations: 0 / 0.9772 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005053/0.0478, allocations: 99.94 kB / 0.9773 GB, free: 15.45 MB / 0.8887 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.0001646/0.04796, allocations: 107.2 kB / 0.9774 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.000918/0.04888, allocations: 0.5881 MB / 0.978 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.04888, allocations: 0 / 0.978 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005536/0.04944, allocations: 460.2 kB / 0.9785 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.04991, allocations: 70.73 kB / 0.9785 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.05119, allocations: 0.6804 MB / 0.9792 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.05147, allocations: 224 kB / 0.9794 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001921/0.05166, allocations: 62.92 kB / 0.9795 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.05172, allocations: 20.5 kB / 0.9795 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of SimCode: time 5.01e-07/0.05172, allocations: 0 / 0.9795 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of Templates: time 0.01081/0.06253, allocations: 4.332 MB / 0.9837 GB, free: 8.887 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.070179864764214]