Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.007659/0.007659, allocations: 99.38 kB / 15.73 MB, free: 6.008 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.001695/0.001695, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.816/2.816, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 64.12 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3138, allocations: 159.1 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03211/0.346, allocations: 26.72 MB / 1.247 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6362/0.9821, allocations: 8.072 MB / 1.255 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002746/0.9849, allocations: 116.1 kB / 1.255 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00655/0.9914, allocations: 2.783 MB / 1.257 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004723/0.9961, allocations: 1.674 MB / 1.259 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005042/1.001, allocations: 1.674 MB / 1.261 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008782/1.01, allocations: 6.136 MB / 1.267 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01156/1.022, allocations: 5.324 MB / 1.272 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005474/1.027, allocations: 2.617 MB / 1.274 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005671/1.033, allocations: 2.829 MB / 1.277 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002004/1.035, allocations: 0.5084 MB / 1.278 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004387/1.039, allocations: 1.287 MB / 1.279 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003934/1.043, allocations: 2.108 MB / 1.281 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00572/1.049, allocations: 2.382 MB / 1.283 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01292/1.062, allocations: 8.081 MB / 1.291 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.062, allocations: 1.438 kB / 1.291 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.272e-06/1.062, allocations: 0 / 1.291 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002424/1.062, allocations: 0.5156 kB / 1.291 GB, free: 1.977 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.0126/1.074, allocations: 4.412 MB / 1.296 GB, free: 15.81 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/1.075, allocations: 10.28 kB / 1.296 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005196/1.08, allocations: 0.8219 MB / 1.296 GB, free: 15.56 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006585/1.086, allocations: 2.589 MB / 1.299 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000262/1.087, allocations: 271.9 kB / 1.299 GB, free: 14.17 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001232/1.088, allocations: 374.7 kB / 1.3 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.015/1.103, allocations: 6 MB / 1.305 GB, free: 11.46 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/1.103, allocations: 17.31 kB / 1.305 GB, free: 11.46 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005108/1.103, allocations: 155.2 kB / 1.306 GB, free: 11.35 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007007/1.104, allocations: 285.6 kB / 1.306 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009901/1.114, allocations: 4.521 MB / 1.31 GB, free: 9.742 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03385/1.148, allocations: 27.52 MB / 1.337 GB, free: 0.5547 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/1.15, allocations: 1.055 MB / 1.338 GB, free: 15.99 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/1.151, allocations: 0.9656 MB / 1.339 GB, free: 15.51 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.792e-05/1.151, allocations: 13.56 kB / 1.339 GB, free: 15.5 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/1.151, allocations: 49.66 kB / 1.339 GB, free: 15.45 MB / 1.045 GB Notification: Performance of pre-optimization done (n=110): time 2.585e-06/1.151, allocations: 0 / 1.339 GB, free: 15.45 MB / 1.045 GB Notification: Performance of matching and sorting (n=131): time 0.0226/1.174, allocations: 9.706 MB / 1.349 GB, free: 9.73 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/1.174, allocations: 65.41 kB / 1.349 GB, free: 9.668 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/1.176, allocations: 1.495 MB / 1.35 GB, free: 8.867 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001198/1.176, allocations: 47.2 kB / 1.35 GB, free: 8.82 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001107/1.178, allocations: 1.715 MB / 1.352 GB, free: 7.312 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003895/1.178, allocations: 491.6 kB / 1.352 GB, free: 6.898 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005481/1.178, allocations: 331.9 kB / 1.353 GB, free: 6.707 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.593e-05/1.179, allocations: 306.6 kB / 1.353 GB, free: 6.406 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/1.18, allocations: 0.9092 MB / 1.354 GB, free: 5.934 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/1.181, allocations: 1.465 MB / 1.355 GB, free: 4.73 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003076/1.185, allocations: 2.55 MB / 1.358 GB, free: 2.93 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/1.185, allocations: 5.281 kB / 1.358 GB, free: 2.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005581/1.19, allocations: 3.274 MB / 1.361 GB, free: 1.137 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/1.19, allocations: 14.94 kB / 1.361 GB, free: 1.133 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/1.19, allocations: 18.69 kB / 1.361 GB, free: 1.133 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00221/1.192, allocations: 0.7326 MB / 1.362 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/1.194, allocations: 383.8 kB / 1.362 GB, free: 480 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01759/1.212, allocations: 17.06 MB / 1.379 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002802/1.214, allocations: 107.8 kB / 1.379 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005277/1.215, allocations: 72 kB / 1.379 GB, free: 13.98 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (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.003376/1.218, allocations: 1.316 MB / 1.38 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009126/1.219, allocations: 214.7 kB / 1.38 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005643/1.225, allocations: 2.761 MB / 1.383 GB, free: 9.648 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/1.225, allocations: 16 kB / 1.383 GB, free: 9.633 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.527e-05/1.225, allocations: 4 kB / 1.383 GB, free: 9.629 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/1.225, allocations: 7.969 kB / 1.383 GB, free: 9.621 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/1.237, allocations: 6.202 MB / 1.389 GB, free: 3.285 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/1.237, allocations: 4 kB / 1.389 GB, free: 3.281 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/1.238, allocations: 235.6 kB / 1.389 GB, free: 3.051 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002054/1.24, allocations: 0.6752 MB / 1.39 GB, free: 2.348 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/1.24, allocations: 32 kB / 1.39 GB, free: 2.316 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0156/1.256, allocations: 16.79 MB / 1.406 GB, free: 284 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.256, allocations: 8 kB / 1.406 GB, free: 276 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006634/1.263, allocations: 3.994 MB / 1.41 GB, free: 12.16 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/1.264, allocations: 459.7 kB / 1.411 GB, free: 11.7 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006078/1.265, allocations: 43.94 kB / 1.411 GB, free: 11.65 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.266, allocations: 83.83 kB / 1.411 GB, free: 11.57 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003171/1.266, allocations: 112.7 kB / 1.411 GB, free: 11.46 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.751e-05/1.266, allocations: 40 kB / 1.411 GB, free: 11.42 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001805/1.268, allocations: 0.9942 MB / 1.412 GB, free: 10.43 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.11e-07/1.268, allocations: 0 / 1.412 GB, free: 10.43 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003148/1.271, allocations: 0.6874 MB / 1.413 GB, free: 9.746 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.0002773/1.271, allocations: 152 kB / 1.413 GB, free: 9.586 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005422/1.277, allocations: 3.386 MB / 1.416 GB, free: 6.09 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/1.277, allocations: 0 / 1.416 GB, free: 6.09 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003111/1.28, allocations: 2.242 MB / 1.418 GB, free: 3.73 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003783/1.284, allocations: 0.678 MB / 1.419 GB, free: 3.078 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/1.297, allocations: 6.563 MB / 1.425 GB, free: 12.43 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003116/1.301, allocations: 2.668 MB / 1.428 GB, free: 9.73 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.00154/1.302, allocations: 489.4 kB / 1.429 GB, free: 9.25 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/1.302, allocations: 115.4 kB / 1.429 GB, free: 9.137 MB / 1.123 GB Notification: Performance of SimCode: time 1.012e-06/1.302, allocations: 4 kB / 1.429 GB, free: 9.133 MB / 1.123 GB Notification: Performance of Templates: time 0.0582/1.361, allocations: 34.38 MB / 1.462 GB, free: 7.316 MB / 1.154 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches