Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 102.2 kB / 16.27 MB, free: 6 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.001471/0.001471, allocations: 191 kB / 17.2 MB, free: 5.609 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.412/1.412, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.281/2.281, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 66.75 kB / 0.8132 GB, free: 33.19 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2481, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01241/0.2605, allocations: 10.02 MB / 0.9601 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.005521/0.2661, allocations: 3.037 MB / 0.963 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008065/0.2669, allocations: 39.81 kB / 0.9631 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002071/0.269, allocations: 0.6839 MB / 0.9637 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001911/0.271, allocations: 0.6883 MB / 0.9644 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.2726, allocations: 0.6393 MB / 0.965 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002922/0.2755, allocations: 2.738 MB / 0.9677 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003025/0.2786, allocations: 2.558 MB / 0.9702 GB, free: 4.355 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.2802, allocations: 1.122 MB / 0.9713 GB, free: 3.23 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.2822, allocations: 1.383 MB / 0.9727 GB, free: 1.844 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0005195/0.2827, allocations: 216 kB / 0.9729 GB, free: 1.633 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.2841, allocations: 483.4 kB / 0.9733 GB, free: 1.16 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001224/0.2853, allocations: 0.9863 MB / 0.9743 GB, free: 176 kB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001603/0.2869, allocations: 1.015 MB / 0.9753 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003434/0.2904, allocations: 3.377 MB / 0.9786 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2904, allocations: 4 kB / 0.9786 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2904, allocations: 3.938 kB / 0.9786 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001047/0.2905, allocations: 0 / 0.9786 GB, free: 11.76 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004646/0.2952, allocations: 1.947 MB / 0.9805 GB, free: 9.754 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.2952, allocations: 16.02 kB / 0.9805 GB, free: 9.738 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005982/0.3012, allocations: 0.8805 MB / 0.9814 GB, free: 8.855 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002264/0.3035, allocations: 1.122 MB / 0.9825 GB, free: 7.691 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.3037, allocations: 107.3 kB / 0.9826 GB, free: 7.586 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00055/0.3042, allocations: 148.3 kB / 0.9827 GB, free: 7.441 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005668/0.3099, allocations: 3.021 MB / 0.9857 GB, free: 4.32 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.206e-05/0.31, allocations: 3.938 kB / 0.9857 GB, free: 4.316 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000235/0.3102, allocations: 67.97 kB / 0.9857 GB, free: 4.25 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002065/0.3104, allocations: 175 kB / 0.9859 GB, free: 4.078 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00399/0.3144, allocations: 2.6 MB / 0.9884 GB, free: 1.473 MB / 0.7637 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01496/0.3294, allocations: 13.56 MB / 1.002 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/0.3312, allocations: 1.29 MB / 1.003 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.3326, allocations: 1.05 MB / 1.004 GB, free: 468 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.777e-05/0.3326, allocations: 12.64 kB / 1.004 GB, free: 452 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.3327, allocations: 47.2 kB / 1.004 GB, free: 396 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=82): time 3.827e-06/0.3327, allocations: 0 / 1.004 GB, free: 396 kB / 0.7794 GB Notification: Performance of matching and sorting (n=139): time 0.0736/0.4063, allocations: 19.38 MB / 1.023 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.4064, allocations: 68.72 kB / 1.023 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.4076, allocations: 0.9184 MB / 1.024 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.4077, allocations: 45.7 kB / 1.024 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004481/0.4082, allocations: 0.7321 MB / 1.025 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004358/0.4086, allocations: 489 kB / 1.025 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005637/0.4092, allocations: 299.4 kB / 1.025 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.4094, allocations: 353.9 kB / 1.026 GB, free: 9.918 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/0.4112, allocations: 1.331 MB / 1.027 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.4132, allocations: 1.666 MB / 1.029 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003841/0.417, allocations: 3.082 MB / 1.032 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.417, allocations: 4 kB / 1.032 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01156/0.4286, allocations: 5.639 MB / 1.037 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.4287, allocations: 8 kB / 1.037 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.4287, allocations: 15.94 kB / 1.037 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009091/0.4378, allocations: 2.735 MB / 1.04 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008344/0.4386, allocations: 191.7 kB / 1.04 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03598/0.4746, allocations: 25.73 MB / 1.065 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.4762, allocations: 95.95 kB / 1.065 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002472/0.4765, allocations: 56 kB / 1.065 GB, free: 0.5352 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001266/0.4777, allocations: 0.7277 MB / 1.066 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003137/0.4781, allocations: 118.6 kB / 1.066 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/0.4895, allocations: 5.404 MB / 1.071 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.4896, allocations: 12 kB / 1.071 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.754e-05/0.4897, allocations: 20 kB / 1.071 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.293e-05/0.4897, allocations: 7.969 kB / 1.071 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01661/0.5063, allocations: 8.64 MB / 1.08 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.566e-05/0.5064, allocations: 4 kB / 1.08 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006801/0.5071, allocations: 111.9 kB / 1.08 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5163/1.023, allocations: 2.561 MB / 1.083 GB, free: 125.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002382/1.024, allocations: 25.02 kB / 1.083 GB, free: 125.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03562/1.059, allocations: 23 MB / 1.105 GB, free: 115 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/1.059, allocations: 7.391 kB / 1.105 GB, free: 115 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/1.071, allocations: 5.127 MB / 1.11 GB, free: 113.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009921/1.072, allocations: 473.1 kB / 1.11 GB, free: 113.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002323/1.073, allocations: 31.47 kB / 1.111 GB, free: 113.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009336/1.074, allocations: 73.95 kB / 1.111 GB, free: 113.1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006523/1.074, allocations: 124.9 kB / 1.111 GB, free: 113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.074, allocations: 38.94 kB / 1.111 GB, free: 113 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008309/1.075, allocations: 0.6403 MB / 1.111 GB, free: 112.8 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.11e-07/1.075, allocations: 0 / 1.111 GB, free: 112.8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002448/1.078, allocations: 0.7215 MB / 1.112 GB, free: 112.7 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002475/1.078, allocations: 145.2 kB / 1.112 GB, free: 112.6 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.007741/1.086, allocations: 4.741 MB / 1.117 GB, free: 110.8 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.086, allocations: 1.094 kB / 1.117 GB, free: 110.8 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.004931/1.091, allocations: 2.677 MB / 1.119 GB, free: 109.6 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/1.092, allocations: 222.3 kB / 1.12 GB, free: 109.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00615/1.098, allocations: 4.201 MB / 1.124 GB, free: 107.7 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/1.1, allocations: 1.73 MB / 1.125 GB, free: 106.8 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/1.1, allocations: 63.06 kB / 1.126 GB, free: 106.8 MB / 0.8575 GB Notification: Performance of SimCode: time 7.21e-07/1.1, allocations: 5.344 kB / 1.126 GB, free: 106.8 MB / 0.8575 GB Notification: Performance of Templates: time 0.05236/1.152, allocations: 59.74 MB / 1.184 GB, free: 56.94 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches