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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001029/0.001029, allocations: 99.42 kB / 16.02 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.00127/0.00127, allocations: 185.4 kB / 16.92 MB, free: 6.688 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.425/1.425, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.455/2.455, allocations: 390.9 MB / 0.667 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003503, allocations: 19.94 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6567/0.6571, allocations: 142.4 MB / 0.9557 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.009032/0.6662, allocations: 9.536 MB / 0.965 GB, free: 380 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005339/0.6716, allocations: 3.01 MB / 0.968 GB, free: 14 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006728/0.6723, allocations: 32.19 kB / 0.968 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004712/0.6728, allocations: 176.4 kB / 0.9682 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.6744, allocations: 0.6559 MB / 0.9688 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.6757, allocations: 0.5475 MB / 0.9693 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004438/0.6802, allocations: 4.066 MB / 0.9733 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005469/0.6857, allocations: 3.123 MB / 0.9764 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.6876, allocations: 0.8358 MB / 0.9772 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.6898, allocations: 1.276 MB / 0.9784 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002385/0.69, allocations: 105.7 kB / 0.9785 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.6911, allocations: 451.2 kB / 0.979 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009162/0.692, allocations: 0.8496 MB / 0.9798 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.6931, allocations: 0.8725 MB / 0.9806 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002878/0.696, allocations: 2.803 MB / 0.9834 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.696, allocations: 4 kB / 0.9834 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.054e-06/0.696, allocations: 0 / 0.9834 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.103e-05/0.6961, allocations: 0 / 0.9834 GB, free: 2.941 MB / 0.7325 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.003312/0.6994, allocations: 1.597 MB / 0.9849 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.6995, allocations: 8.031 kB / 0.9849 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006028/0.7055, allocations: 0.8921 MB / 0.9858 GB, free: 396 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.7077, allocations: 1.122 MB / 0.9869 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.888e-05/0.7078, allocations: 115.2 kB / 0.987 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003505/0.7082, allocations: 140.3 kB / 0.9872 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005236/0.7134, allocations: 3.017 MB / 0.9901 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.328e-05/0.7135, allocations: 7.938 kB / 0.9901 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001999/0.7137, allocations: 67.97 kB / 0.9902 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000235/0.7139, allocations: 171 kB / 0.9903 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004509/0.7184, allocations: 2.615 MB / 0.9929 GB, free: 8.988 MB / 0.7481 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.01707/0.7355, allocations: 13.53 MB / 1.006 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/0.7376, allocations: 1.3 MB / 1.007 GB, free: 9.043 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.7391, allocations: 1.048 MB / 1.008 GB, free: 7.996 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.359e-05/0.7392, allocations: 8.656 kB / 1.008 GB, free: 7.984 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.7392, allocations: 43.16 kB / 1.008 GB, free: 7.934 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=82): time 2.735e-06/0.7392, allocations: 0 / 1.008 GB, free: 7.934 MB / 0.7637 GB Notification: Performance of matching and sorting (n=139): time 0.07865/0.8179, allocations: 19.47 MB / 1.027 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.818, allocations: 68.72 kB / 1.028 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.8194, allocations: 0.9222 MB / 1.028 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0003005/0.8197, allocations: 49.7 kB / 1.028 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005369/0.8203, allocations: 0.7283 MB / 1.029 GB, free: 2.508 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005763/0.8208, allocations: 492.9 kB / 1.03 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002718/0.8211, allocations: 125.7 kB / 1.03 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.8213, allocations: 353.9 kB / 1.03 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00197/0.8233, allocations: 1.335 MB / 1.031 GB, free: 208 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002297/0.8256, allocations: 1.655 MB / 1.033 GB, free: 14.44 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004237/0.8299, allocations: 3.088 MB / 1.036 GB, free: 11.23 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.425e-06/0.8299, allocations: 4 kB / 1.036 GB, free: 11.23 MB / 0.795 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01248/0.8424, allocations: 5.63 MB / 1.042 GB, free: 5.57 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.8425, allocations: 8 kB / 1.042 GB, free: 5.562 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.877e-05/0.8425, allocations: 19.88 kB / 1.042 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009378/0.8519, allocations: 2.717 MB / 1.044 GB, free: 2.816 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008696/0.8528, allocations: 191.7 kB / 1.044 GB, free: 2.629 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03525/0.8881, allocations: 23.33 MB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.8897, allocations: 99.95 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.8899, allocations: 52 kB / 1.067 GB, free: 10.6 MB / 0.8262 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.001342/0.8912, allocations: 0.7277 MB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002614/0.8915, allocations: 114.6 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/0.9034, allocations: 5.396 MB / 1.073 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.9035, allocations: 12 kB / 1.073 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.331e-05/0.9035, allocations: 20 kB / 1.073 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.12e-05/0.9035, allocations: 7.969 kB / 1.073 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01677/0.9203, allocations: 8.621 MB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/0.9204, allocations: 4 kB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000506/0.9209, allocations: 115.9 kB / 1.082 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008747/0.9296, allocations: 2.547 MB / 1.084 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002452/0.9299, allocations: 28 kB / 1.085 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03151/0.9614, allocations: 20.88 MB / 1.105 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/0.9615, allocations: 7.984 kB / 1.105 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/0.9729, allocations: 5.138 MB / 1.11 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009441/0.9738, allocations: 479.6 kB / 1.11 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003196/0.9742, allocations: 24 kB / 1.11 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.9753, allocations: 80.08 kB / 1.11 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005511/0.9758, allocations: 125 kB / 1.111 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/0.976, allocations: 39.94 kB / 1.111 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001038/0.977, allocations: 0.6434 MB / 1.111 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.11e-07/0.977, allocations: 4 kB / 1.111 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002572/0.9796, allocations: 0.7188 MB / 1.112 GB, free: 12.05 MB / 0.8731 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.0003174/0.9799, allocations: 145.1 kB / 1.112 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.007682/0.9876, allocations: 4.157 MB / 1.116 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.9877, allocations: 4.062 kB / 1.116 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.005578/0.9933, allocations: 2.654 MB / 1.119 GB, free: 4.992 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/0.9954, allocations: 214.7 kB / 1.119 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007804/1.003, allocations: 4.95 MB / 1.124 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002008/1.005, allocations: 1.743 MB / 1.126 GB, free: 14 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003689/1.006, allocations: 71.36 kB / 1.126 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of SimCode: time 1.142e-06/1.006, allocations: 0 / 1.126 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of Templates: time 0.07422/1.08, allocations: 59.52 MB / 1.184 GB, free: 2.391 MB / 0.9356 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