Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001746/0.001746, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001891/0.001891, allocations: 192.5 kB / 16.14 MB, free: 6.691 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.459/1.459, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.75/2.75, allocations: 461.9 MB / 0.7342 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 64.91 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3566, allocations: 157.4 MB / 1.052 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01192/0.3686, allocations: 9.998 MB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005187/0.3738, allocations: 3.049 MB / 1.065 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007005/0.3745, allocations: 27.88 kB / 1.065 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.3762, allocations: 0.6263 MB / 1.065 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.3778, allocations: 0.6576 MB / 1.066 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.3792, allocations: 0.5881 MB / 1.067 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004154/0.3834, allocations: 4.064 MB / 1.071 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004478/0.3879, allocations: 2.822 MB / 1.073 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001817/0.3897, allocations: 0.9498 MB / 1.074 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001965/0.3917, allocations: 1.43 MB / 1.076 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002732/0.392, allocations: 148 kB / 1.076 GB, free: 360 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.3931, allocations: 499.2 kB / 1.076 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0009764/0.3941, allocations: 0.9199 MB / 1.077 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.3951, allocations: 0.941 MB / 1.078 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003403/0.3985, allocations: 3.346 MB / 1.081 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3986, allocations: 0 / 1.081 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3986, allocations: 0 / 1.081 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.409e-05/0.3986, allocations: 0 / 1.081 GB, free: 10.64 MB / 0.8419 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.004121/0.4028, allocations: 1.952 MB / 1.083 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.4028, allocations: 12.03 kB / 1.083 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005518/0.4084, allocations: 0.8806 MB / 1.084 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00241/0.4108, allocations: 1.126 MB / 1.085 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-05/0.4109, allocations: 107.3 kB / 1.085 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003314/0.4112, allocations: 144.3 kB / 1.086 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005664/0.4169, allocations: 3.015 MB / 1.089 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.74e-05/0.417, allocations: 11.84 kB / 1.089 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/0.4172, allocations: 63.97 kB / 1.089 GB, free: 3.137 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002526/0.4174, allocations: 179 kB / 1.089 GB, free: 2.961 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004865/0.4223, allocations: 2.604 MB / 1.091 GB, free: 360 kB / 0.8419 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.01838/0.4407, allocations: 13.56 MB / 1.105 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002242/0.443, allocations: 1.298 MB / 1.106 GB, free: 388 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.4445, allocations: 1.05 MB / 1.107 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.144e-05/0.4446, allocations: 12.64 kB / 1.107 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.4446, allocations: 43.22 kB / 1.107 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.845e-06/0.4446, allocations: 0 / 1.107 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139): time 0.07219/0.5168, allocations: 19.38 MB / 1.126 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.881e-05/0.5169, allocations: 72.72 kB / 1.126 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.5184, allocations: 0.9183 MB / 1.127 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002259/0.5186, allocations: 49.7 kB / 1.127 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005095/0.5191, allocations: 0.7243 MB / 1.128 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006168/0.5198, allocations: 489 kB / 1.128 GB, free: 9.453 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007058/0.5205, allocations: 291.5 kB / 1.128 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002311/0.5207, allocations: 353.9 kB / 1.129 GB, free: 8.812 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/0.5227, allocations: 1.331 MB / 1.13 GB, free: 7.48 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/0.525, allocations: 1.662 MB / 1.132 GB, free: 5.703 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004321/0.5293, allocations: 3.092 MB / 1.135 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.5293, allocations: 0 / 1.135 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01213/0.5415, allocations: 5.64 MB / 1.14 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.5415, allocations: 8.656 kB / 1.14 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.5416, allocations: 15.88 kB / 1.14 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008997/0.5506, allocations: 2.723 MB / 1.143 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000844/0.5514, allocations: 195.7 kB / 1.143 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03406/0.5855, allocations: 23.34 MB / 1.166 GB, free: 1.977 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.5873, allocations: 100.1 kB / 1.166 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004752/0.5878, allocations: 56 kB / 1.166 GB, free: 1.824 MB / 0.92 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.002004/0.5899, allocations: 0.7354 MB / 1.167 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000411/0.5903, allocations: 122.6 kB / 1.167 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/0.6018, allocations: 5.388 MB / 1.172 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.6019, allocations: 16 kB / 1.172 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.885e-05/0.6019, allocations: 16 kB / 1.172 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.036e-05/0.602, allocations: 7.969 kB / 1.172 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01701/0.619, allocations: 8.644 MB / 1.18 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.619, allocations: 4 kB / 1.18 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004598/0.6195, allocations: 115.8 kB / 1.181 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008419/0.6279, allocations: 2.564 MB / 1.183 GB, free: 36 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001545/0.6281, allocations: 24 kB / 1.183 GB, free: 12 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03099/0.6591, allocations: 20.88 MB / 1.203 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.6592, allocations: 4 kB / 1.203 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/0.67, allocations: 5.13 MB / 1.209 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008982/0.671, allocations: 479.5 kB / 1.209 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003073/0.6713, allocations: 28 kB / 1.209 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009679/0.6723, allocations: 71.91 kB / 1.209 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005487/0.6728, allocations: 129 kB / 1.209 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.6729, allocations: 36 kB / 1.209 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009501/0.6739, allocations: 0.6434 MB / 1.21 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6739, allocations: 0 / 1.21 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002469/0.6764, allocations: 0.7227 MB / 1.211 GB, free: 3.258 MB / 0.9669 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.0002797/0.6767, allocations: 135.1 kB / 1.211 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.007083/0.6838, allocations: 4.153 MB / 1.215 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.6838, allocations: 0 / 1.215 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00496/0.6887, allocations: 2.662 MB / 1.217 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.6901, allocations: 204.7 kB / 1.218 GB, free: 12 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006861/0.697, allocations: 4.665 MB / 1.222 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/0.6986, allocations: 1.715 MB / 1.224 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007892/0.6994, allocations: 333.4 kB / 1.224 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.6996, allocations: 55.44 kB / 1.224 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.6996, allocations: 0 / 1.224 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of Templates: time 0.631/1.331, allocations: 38.18 MB / 1.261 GB, free: 172.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches