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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 112.8 kB / 15.99 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 196.6 kB / 16.91 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 240.6 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.543/2.543, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 73.97 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3047, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.00629/0.311, allocations: 4.384 MB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002944/0.314, allocations: 1.839 MB / 1.07 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.3142, allocations: 15.94 kB / 1.07 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.3158, allocations: 0.5607 MB / 1.071 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005303/0.3163, allocations: 234.9 kB / 1.071 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006186/0.317, allocations: 239 kB / 1.071 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00071/0.3177, allocations: 0.6112 MB / 1.072 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007592/0.3185, allocations: 0.5069 MB / 1.072 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.3188, allocations: 247.1 kB / 1.073 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004267/0.3192, allocations: 275 kB / 1.073 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.35e-05/0.3193, allocations: 43.94 kB / 1.073 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004037/0.3197, allocations: 259.5 kB / 1.073 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.3198, allocations: 151.6 kB / 1.073 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.3201, allocations: 222.9 kB / 1.073 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005534/0.3206, allocations: 478.9 kB / 1.074 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3206, allocations: 4 kB / 1.074 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3206, allocations: 3.938 kB / 1.074 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.3207, allocations: 0 / 1.074 GB, free: 5.055 MB / 0.8419 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.001275/0.3219, allocations: 0.7135 MB / 1.075 GB, free: 4.293 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.322, allocations: 16.02 kB / 1.075 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000944/0.3229, allocations: 148.2 kB / 1.075 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.3234, allocations: 334.5 kB / 1.075 GB, free: 3.77 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.3234, allocations: 25.36 kB / 1.075 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.671e-05/0.3235, allocations: 40.38 kB / 1.075 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008276/0.3243, allocations: 0.5356 MB / 1.076 GB, free: 3.137 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3244, allocations: 0 / 1.076 GB, free: 3.137 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.3244, allocations: 12 kB / 1.076 GB, free: 3.125 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.516e-05/0.3245, allocations: 32.64 kB / 1.076 GB, free: 3.09 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006083/0.3251, allocations: 386.3 kB / 1.076 GB, free: 2.715 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00269/0.3278, allocations: 2.407 MB / 1.078 GB, free: 88 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4034/0.7312, allocations: 254.8 kB / 1.079 GB, free: 22.66 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.7315, allocations: 110.4 kB / 1.079 GB, free: 22.66 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.7315, allocations: 3.969 kB / 1.079 GB, free: 22.66 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.7315, allocations: 36.17 kB / 1.079 GB, free: 22.62 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 2.915e-06/0.7315, allocations: 0 / 1.079 GB, free: 22.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.002141/0.7337, allocations: 1.132 MB / 1.08 GB, free: 22.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.7337, allocations: 53.75 kB / 1.08 GB, free: 22.07 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.7341, allocations: 297.2 kB / 1.08 GB, free: 21.96 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.7341, allocations: 31.17 kB / 1.08 GB, free: 21.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.7342, allocations: 238 kB / 1.081 GB, free: 21.79 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.558e-05/0.7343, allocations: 78.94 kB / 1.081 GB, free: 21.73 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.804e-05/0.7344, allocations: 64.81 kB / 1.081 GB, free: 21.71 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 6.485e-05/0.7345, allocations: 343.5 kB / 1.081 GB, free: 21.39 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.7346, allocations: 107 kB / 1.081 GB, free: 21.37 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.7348, allocations: 191.4 kB / 1.081 GB, free: 21.23 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.7352, allocations: 322.2 kB / 1.082 GB, free: 21.03 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.7352, allocations: 1.094 kB / 1.082 GB, free: 21.03 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006754/0.7359, allocations: 437.1 kB / 1.082 GB, free: 20.83 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.7359, allocations: 11.02 kB / 1.082 GB, free: 20.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.7359, allocations: 3.469 kB / 1.082 GB, free: 20.83 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003418/0.7363, allocations: 96.2 kB / 1.082 GB, free: 20.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.7366, allocations: 60.91 kB / 1.082 GB, free: 20.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/0.7388, allocations: 4.401 MB / 1.086 GB, free: 16.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.739, allocations: 13.05 kB / 1.086 GB, free: 16.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.7391, allocations: 15.38 kB / 1.086 GB, free: 16.47 MB / 0.8419 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.0001837/0.7393, allocations: 180.7 kB / 1.087 GB, free: 16.32 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.7393, allocations: 27.62 kB / 1.087 GB, free: 16.31 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.14e-05/0.7394, allocations: 42.7 kB / 1.087 GB, free: 16.28 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.7394, allocations: 6.375 kB / 1.087 GB, free: 16.27 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/0.7394, allocations: 1.125 kB / 1.087 GB, free: 16.27 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.7394, allocations: 1.312 kB / 1.087 GB, free: 16.27 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.7398, allocations: 395.2 kB / 1.087 GB, free: 16.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.7399, allocations: 5.859 kB / 1.087 GB, free: 16.01 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.74, allocations: 45.14 kB / 1.087 GB, free: 16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002921/0.7403, allocations: 92.39 kB / 1.087 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.7404, allocations: 4 kB / 1.087 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/0.7424, allocations: 4.385 MB / 1.092 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7424, allocations: 3.938 kB / 1.092 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007231/0.7432, allocations: 0.5584 MB / 1.092 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.7433, allocations: 120.5 kB / 1.092 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.7433, allocations: 5.781 kB / 1.092 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.7435, allocations: 12.47 kB / 1.092 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.7436, allocations: 18.7 kB / 1.092 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.7436, allocations: 8.562 kB / 1.092 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001974/0.7438, allocations: 209.3 kB / 1.092 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7438, allocations: 0 / 1.092 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000493/0.7443, allocations: 99.06 kB / 1.093 GB, free: 11.07 MB / 0.8419 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.0001192/0.7444, allocations: 109.7 kB / 1.093 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000785/0.7452, allocations: 0.6317 MB / 1.093 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.7452, allocations: 1.062 kB / 1.093 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003921/0.7456, allocations: 482.1 kB / 1.094 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.7461, allocations: 77.09 kB / 1.094 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.7472, allocations: 0.9015 MB / 1.095 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.7475, allocations: 0.8347 MB / 1.095 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/0.7476, allocations: 25.19 kB / 1.096 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.7476, allocations: 0 / 1.096 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of Templates: time 0.0138/0.7614, allocations: 8.655 MB / 1.104 GB, free: 8.199 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches