Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001488/0.001488, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001061/0.001062, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.515/2.515, allocations: 437.1 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 65.19 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2989, allocations: 151.6 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01176/0.3107, allocations: 10.03 MB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005402/0.3161, allocations: 3.056 MB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006947/0.3169, allocations: 31.88 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.3188, allocations: 0.6775 MB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.3203, allocations: 0.6922 MB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.3218, allocations: 0.6434 MB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002617/0.3244, allocations: 2.734 MB / 1.036 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002685/0.3271, allocations: 2.53 MB / 1.039 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.3286, allocations: 1.126 MB / 1.04 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.3303, allocations: 1.387 MB / 1.041 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002647/0.3306, allocations: 216 kB / 1.041 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008991/0.3315, allocations: 487.3 kB / 1.042 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0008745/0.3324, allocations: 0.9785 MB / 1.043 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.3334, allocations: 1.019 MB / 1.044 GB, free: 176 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002884/0.3363, allocations: 3.404 MB / 1.047 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.3364, allocations: 0 / 1.047 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3364, allocations: 0 / 1.047 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.644e-05/0.3364, allocations: 0 / 1.047 GB, free: 12.76 MB / 0.8262 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.00417/0.3406, allocations: 1.944 MB / 1.049 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3407, allocations: 16.92 kB / 1.049 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005493/0.3462, allocations: 0.8805 MB / 1.05 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002638/0.3488, allocations: 1.176 MB / 1.051 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.451e-05/0.3489, allocations: 103.3 kB / 1.051 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003167/0.3492, allocations: 144.3 kB / 1.051 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0044/0.3536, allocations: 3.027 MB / 1.054 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.297e-05/0.3537, allocations: 11.92 kB / 1.054 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/0.3539, allocations: 59.98 kB / 1.054 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002056/0.3541, allocations: 179 kB / 1.054 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003833/0.3579, allocations: 2.608 MB / 1.057 GB, free: 2.414 MB / 0.8262 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.01544/0.3734, allocations: 13.48 MB / 1.07 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.3753, allocations: 1.297 MB / 1.071 GB, free: 2.531 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.3766, allocations: 1.051 MB / 1.072 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.348e-05/0.3766, allocations: 12.64 kB / 1.072 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.3767, allocations: 43.22 kB / 1.073 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=82): time 2.775e-06/0.3767, allocations: 0 / 1.073 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=139): time 0.6043/0.981, allocations: 19.36 MB / 1.091 GB, free: 57.48 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.9811, allocations: 66.22 kB / 1.091 GB, free: 57.42 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.9825, allocations: 0.9203 MB / 1.092 GB, free: 57.05 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002504/0.9828, allocations: 46.45 kB / 1.092 GB, free: 57 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000492/0.9833, allocations: 0.7323 MB / 1.093 GB, free: 56.44 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004579/0.9837, allocations: 491.7 kB / 1.094 GB, free: 56.06 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006247/0.9844, allocations: 291 kB / 1.094 GB, free: 55.93 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.9845, allocations: 353.3 kB / 1.094 GB, free: 55.61 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002084/0.9866, allocations: 1.334 MB / 1.096 GB, free: 55.16 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002213/0.9888, allocations: 1.657 MB / 1.097 GB, free: 54.35 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004323/0.9931, allocations: 3.096 MB / 1.1 GB, free: 52.94 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.426e-05/0.9932, allocations: 3.453 kB / 1.1 GB, free: 52.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01214/1.005, allocations: 5.64 MB / 1.106 GB, free: 51.14 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/1.005, allocations: 9.5 kB / 1.106 GB, free: 51.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/1.005, allocations: 8.062 kB / 1.106 GB, free: 51.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008343/1.014, allocations: 2.72 MB / 1.108 GB, free: 50.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008367/1.015, allocations: 188.9 kB / 1.109 GB, free: 50.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03246/1.047, allocations: 25.72 MB / 1.134 GB, free: 33.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/1.049, allocations: 97.67 kB / 1.134 GB, free: 33.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/1.049, allocations: 54.66 kB / 1.134 GB, free: 33.09 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.001354/1.05, allocations: 0.738 MB / 1.135 GB, free: 32.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003588/1.051, allocations: 112.2 kB / 1.135 GB, free: 32.56 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009149/1.06, allocations: 5.397 MB / 1.14 GB, free: 27.19 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/1.06, allocations: 12 kB / 1.14 GB, free: 27.18 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.38e-05/1.06, allocations: 23.94 kB / 1.14 GB, free: 27.16 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/1.06, allocations: 7.969 kB / 1.14 GB, free: 27.15 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/1.074, allocations: 8.628 MB / 1.148 GB, free: 18.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/1.074, allocations: 0 / 1.148 GB, free: 18.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/1.074, allocations: 115.9 kB / 1.148 GB, free: 18.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007109/1.081, allocations: 2.547 MB / 1.151 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002547/1.082, allocations: 28 kB / 1.151 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02818/1.11, allocations: 22.99 MB / 1.173 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/1.11, allocations: 11.94 kB / 1.173 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/1.12, allocations: 5.128 MB / 1.178 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/1.122, allocations: 471.6 kB / 1.179 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/1.122, allocations: 31.98 kB / 1.179 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008524/1.123, allocations: 71.91 kB / 1.179 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005909/1.123, allocations: 125 kB / 1.179 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/1.123, allocations: 47.84 kB / 1.179 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008515/1.124, allocations: 0.6395 MB / 1.18 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/1.124, allocations: 0 / 1.18 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002662/1.127, allocations: 0.7188 MB / 1.18 GB, free: 0.8945 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.0002811/1.127, allocations: 135.1 kB / 1.181 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.007132/1.134, allocations: 4.182 MB / 1.185 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.134, allocations: 0 / 1.185 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.005049/1.14, allocations: 2.662 MB / 1.187 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/1.141, allocations: 221 kB / 1.188 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006371/1.147, allocations: 3.897 MB / 1.191 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/1.149, allocations: 1.704 MB / 1.193 GB, free: 3.945 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007088/1.15, allocations: 323.3 kB / 1.193 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/1.15, allocations: 63.38 kB / 1.193 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of SimCode: time 1.122e-06/1.15, allocations: 0 / 1.193 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of Templates: time 0.05608/1.206, allocations: 38.98 MB / 1.231 GB, free: 12.78 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches