Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 188.3 kB / 16.67 MB, free: 6.582 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.429/1.429, allocations: 222.9 MB / 240.3 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.855/2.855, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.91 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3559, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007894/0.3638, allocations: 5.568 MB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004692/0.3685, allocations: 2.646 MB / 1.229 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003589/0.3689, allocations: 19.88 kB / 1.229 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.3708, allocations: 0.6958 MB / 1.229 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.3719, allocations: 425.8 kB / 1.23 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.373, allocations: 407 kB / 1.23 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001206/0.3742, allocations: 0.9591 MB / 1.231 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005513/0.3748, allocations: 374.5 kB / 1.231 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000501/0.3753, allocations: 374.6 kB / 1.232 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000494/0.3758, allocations: 398.4 kB / 1.232 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.75e-05/0.3759, allocations: 48 kB / 1.232 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006543/0.3765, allocations: 371.2 kB / 1.233 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002416/0.3767, allocations: 251.2 kB / 1.233 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003754/0.3771, allocations: 354.2 kB / 1.233 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.3783, allocations: 0.9806 MB / 1.234 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3783, allocations: 0 / 1.234 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3783, allocations: 0 / 1.234 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.3783, allocations: 0 / 1.234 GB, free: 15.96 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00167/0.38, allocations: 0.9961 MB / 1.235 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.38, allocations: 8.031 kB / 1.235 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.3814, allocations: 208.1 kB / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000781/0.3822, allocations: 0.5262 MB / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/0.3822, allocations: 41.3 kB / 1.236 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.3823, allocations: 56.55 kB / 1.236 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.3835, allocations: 0.8318 MB / 1.237 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.3836, allocations: 3.938 kB / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.934e-05/0.3836, allocations: 27.98 kB / 1.237 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001857/0.3838, allocations: 68.94 kB / 1.237 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008906/0.3847, allocations: 0.5697 MB / 1.237 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004777/0.3895, allocations: 4.566 MB / 1.242 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.39, allocations: 279.2 kB / 1.242 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.3903, allocations: 213.2 kB / 1.242 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.3903, allocations: 8.266 kB / 1.242 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.3903, allocations: 38.84 kB / 1.242 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.3903, allocations: 0 / 1.242 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.005636/0.396, allocations: 2.636 MB / 1.245 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.396, allocations: 55.41 kB / 1.245 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006367/0.3966, allocations: 462 kB / 1.245 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.3967, allocations: 37.7 kB / 1.245 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.3969, allocations: 360.5 kB / 1.246 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.397, allocations: 146.7 kB / 1.246 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.3972, allocations: 110.2 kB / 1.246 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3974, allocations: 358.8 kB / 1.246 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/0.3978, allocations: 237 kB / 1.247 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004995/0.3983, allocations: 417 kB / 1.247 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008945/0.3992, allocations: 0.6779 MB / 1.248 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3992, allocations: 7.938 kB / 1.248 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001676/0.4009, allocations: 0.9096 MB / 1.249 GB, free: 296 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.4009, allocations: 7.984 kB / 1.249 GB, free: 288 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.4009, allocations: 8 kB / 1.249 GB, free: 280 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007768/0.4017, allocations: 227 kB / 1.249 GB, free: 44 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.7608/1.162, allocations: 113.3 kB / 1.249 GB, free: 29.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00461/1.167, allocations: 5.334 MB / 1.254 GB, free: 25.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005492/1.168, allocations: 34.64 kB / 1.254 GB, free: 25.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/1.168, allocations: 22 kB / 1.254 GB, free: 25.56 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002913/1.168, allocations: 230.9 kB / 1.254 GB, free: 25.45 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-05/1.168, allocations: 59.47 kB / 1.254 GB, free: 25.45 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/1.17, allocations: 0.7675 MB / 1.255 GB, free: 25.36 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.17, allocations: 4.344 kB / 1.255 GB, free: 25.36 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/1.17, allocations: 3.094 kB / 1.255 GB, free: 25.36 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.17, allocations: 2.156 kB / 1.255 GB, free: 25.36 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002354/1.172, allocations: 1.493 MB / 1.257 GB, free: 24.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.172, allocations: 3.375 kB / 1.257 GB, free: 24.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/1.172, allocations: 71.31 kB / 1.257 GB, free: 24.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006403/1.173, allocations: 214.2 kB / 1.257 GB, free: 24.92 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/1.173, allocations: 7.594 kB / 1.257 GB, free: 24.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003615/1.177, allocations: 5.272 MB / 1.262 GB, free: 20.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.177, allocations: 3 kB / 1.262 GB, free: 20.89 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/1.178, allocations: 1.129 MB / 1.263 GB, free: 20.62 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/1.178, allocations: 171.7 kB / 1.263 GB, free: 20.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.6e-05/1.178, allocations: 12.95 kB / 1.263 GB, free: 20.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/1.179, allocations: 23.66 kB / 1.263 GB, free: 20.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-05/1.179, allocations: 42.16 kB / 1.263 GB, free: 20.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/1.179, allocations: 16.55 kB / 1.263 GB, free: 20.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000296/1.179, allocations: 315.2 kB / 1.264 GB, free: 20.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/1.179, allocations: 0 / 1.264 GB, free: 20.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006415/1.18, allocations: 168 kB / 1.264 GB, free: 20.41 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,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.0001293/1.18, allocations: 120.6 kB / 1.264 GB, free: 20.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001303/1.181, allocations: 0.9656 MB / 1.265 GB, free: 19.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/1.181, allocations: 9.156 kB / 1.265 GB, free: 19.95 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007762/1.182, allocations: 0.6622 MB / 1.266 GB, free: 19.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007876/1.183, allocations: 185.1 kB / 1.266 GB, free: 19.58 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/1.184, allocations: 1.276 MB / 1.267 GB, free: 18.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/1.185, allocations: 0.9477 MB / 1.268 GB, free: 18.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000284/1.185, allocations: 112.7 kB / 1.268 GB, free: 18.26 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.418e-05/1.185, allocations: 39.42 kB / 1.268 GB, free: 18.25 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/1.185, allocations: 4 kB / 1.268 GB, free: 18.25 MB / 0.9981 GB Notification: Performance of Templates: time 0.01731/1.202, allocations: 9.03 MB / 1.277 GB, free: 17.74 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches