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.001815/0.001815, allocations: 76.42 kB / 20.23 MB, free: 4.305 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.002324/0.002324, allocations: 165.3 kB / 23.54 MB, free: 0.9922 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.516/1.516, allocations: 177.2 MB / 203.9 MB, free: 5.586 MB / 186.7 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 2.748/2.748, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] 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 1.924e-06/1.924e-06, allocations: 0 / 0.7863 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.091e-05/3.283e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007728/0.007761, allocations: 4.236 MB / 0.7905 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003943/0.0117, allocations: 1.818 MB / 0.7923 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003609/0.01206, allocations: 13.59 kB / 0.7923 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002021/0.01409, allocations: 0.5967 MB / 0.7929 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0008816/0.01497, allocations: 281.6 kB / 0.7931 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008044/0.01577, allocations: 248.5 kB / 0.7934 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001024/0.0168, allocations: 0.6304 MB / 0.794 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007781/0.01757, allocations: 344.5 kB / 0.7943 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006721/0.01825, allocations: 347.2 kB / 0.7946 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006108/0.01886, allocations: 240.6 kB / 0.7949 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.01896, allocations: 39.98 kB / 0.7949 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005491/0.01951, allocations: 239.3 kB / 0.7951 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.01974, allocations: 164.2 kB / 0.7953 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002609/0.02, allocations: 159.6 kB / 0.7954 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.02102, allocations: 0.6199 MB / 0.796 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.02103, allocations: 0 / 0.796 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.232e-06/0.02103, allocations: 1.094 kB / 0.796 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.08e-05/0.02105, allocations: 0 / 0.796 GB, free: 2.934 MB / 0.7448 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.00163/0.02268, allocations: 0.663 MB / 0.7967 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.02272, allocations: 8.594 kB / 0.7967 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.02408, allocations: 222.2 kB / 0.7969 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005718/0.02465, allocations: 287.1 kB / 0.7972 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.02469, allocations: 29.36 kB / 0.7972 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.229e-05/0.02477, allocations: 32.38 kB / 0.7972 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.02587, allocations: 0.6831 MB / 0.7979 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.02589, allocations: 4.656 kB / 0.7979 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.188e-05/0.02594, allocations: 16.38 kB / 0.7979 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.369e-05/0.02603, allocations: 37.09 kB / 0.798 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007318/0.02676, allocations: 387.1 kB / 0.7983 GB, free: 484 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002867/0.02962, allocations: 1.672 MB / 0.8 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006092/0.03023, allocations: 233 kB / 0.8002 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.03043, allocations: 104.7 kB / 0.8003 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.03044, allocations: 6.562 kB / 0.8003 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.03048, allocations: 42.5 kB / 0.8003 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=20): time 1.252e-06/0.03049, allocations: 0 / 0.8003 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.002475/0.03296, allocations: 0.9051 MB / 0.8012 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.03301, allocations: 52.47 kB / 0.8013 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.03337, allocations: 273.8 kB / 0.8015 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.0334, allocations: 29.7 kB / 0.8016 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.03361, allocations: 237 kB / 0.8018 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.23e-05/0.0337, allocations: 87.27 kB / 0.8019 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.03382, allocations: 65.98 kB / 0.8019 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.03403, allocations: 339.2 kB / 0.8023 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.03423, allocations: 105.3 kB / 0.8024 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.03451, allocations: 187.7 kB / 0.8025 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005046/0.03501, allocations: 315.2 kB / 0.8028 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.03501, allocations: 0.6562 kB / 0.8028 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009393/0.03595, allocations: 455 kB / 0.8033 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.03598, allocations: 5.094 kB / 0.8033 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.03599, allocations: 7.984 kB / 0.8033 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007003/0.03669, allocations: 137.9 kB / 0.8034 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.03701, allocations: 67.91 kB / 0.8035 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004321/0.04133, allocations: 4.004 MB / 0.8074 GB, free: 6.645 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.04157, allocations: 8 kB / 0.8074 GB, free: 6.637 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.0416, allocations: 12 kB / 0.8074 GB, free: 6.625 MB / 0.7605 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.0002835/0.04189, allocations: 193.8 kB / 0.8076 GB, free: 6.426 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.04199, allocations: 39.81 kB / 0.8076 GB, free: 6.387 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.524e-05/0.04208, allocations: 34.27 kB / 0.8077 GB, free: 6.352 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.04209, allocations: 4 kB / 0.8077 GB, free: 6.348 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.0421, allocations: 0 / 0.8077 GB, free: 6.348 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.0421, allocations: 0 / 0.8077 GB, free: 6.348 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.04257, allocations: 289.1 kB / 0.8079 GB, free: 6.035 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.04257, allocations: 0 / 0.8079 GB, free: 6.035 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.0428, allocations: 39.91 kB / 0.808 GB, free: 5.996 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006133/0.04342, allocations: 130.5 kB / 0.8081 GB, free: 5.859 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.04343, allocations: 3.938 kB / 0.8081 GB, free: 5.855 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004221/0.04766, allocations: 4.001 MB / 0.812 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.04766, allocations: 3.984 kB / 0.812 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.04867, allocations: 0.5583 MB / 0.8126 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.04881, allocations: 47.78 kB / 0.8126 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.04886, allocations: 12.22 kB / 0.8126 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.04908, allocations: 12 kB / 0.8126 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.696e-05/0.04914, allocations: 15.95 kB / 0.8127 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.04916, allocations: 11.94 kB / 0.8127 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002369/0.0494, allocations: 189.2 kB / 0.8128 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.01e-07/0.0494, allocations: 4 kB / 0.8128 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005404/0.04994, allocations: 95.94 kB / 0.8129 GB, free: 0.582 MB / 0.7605 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.0001613/0.0501, allocations: 106.8 kB / 0.813 GB, free: 484 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.05116, allocations: 0.5935 MB / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.05116, allocations: 4.625 kB / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006258/0.05179, allocations: 463.8 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.05229, allocations: 58.5 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.05372, allocations: 0.6918 MB / 0.8148 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.05403, allocations: 227.8 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002055/0.05423, allocations: 54.92 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-05/0.05431, allocations: 24.5 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.05431, allocations: 0 / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of Templates: time 0.01085/0.06516, allocations: 4.383 MB / 0.8194 GB, free: 9.969 MB / 0.7761 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: 7.908234355971217]