Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.ACLineMatrix_RLC_N,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001451/0.001451, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.356/1.356, allocations: 222.9 MB / 240.6 MB, free: 4.52 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.749/2.749, allocations: 469.8 MB / 0.7427 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 69.31 kB / 0.9087 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2989, allocations: 159.2 MB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01248/0.3114, allocations: 10.06 MB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005247/0.3167, allocations: 3.139 MB / 1.077 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004716/0.3172, allocations: 35.75 kB / 1.077 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.3187, allocations: 0.5382 MB / 1.078 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.3201, allocations: 0.6887 MB / 1.078 GB, free: 64 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.3216, allocations: 0.6917 MB / 1.079 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003246/0.3248, allocations: 3 MB / 1.082 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004164/0.329, allocations: 3.072 MB / 1.085 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.331, allocations: 1.266 MB / 1.086 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002289/0.3333, allocations: 1.656 MB / 1.088 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003468/0.3336, allocations: 236 kB / 1.088 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009485/0.3346, allocations: 0.4993 MB / 1.088 GB, free: 5.594 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001072/0.3357, allocations: 1.076 MB / 1.09 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.3368, allocations: 1.112 MB / 1.091 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003011/0.3399, allocations: 3.095 MB / 1.094 GB, free: 304 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3399, allocations: 4 kB / 1.094 GB, free: 300 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3399, allocations: 0 / 1.094 GB, free: 300 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.629e-05/0.34, allocations: 4 kB / 1.094 GB, free: 296 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003986/0.3439, allocations: 2.142 MB / 1.096 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.344, allocations: 8.031 kB / 1.096 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008543/0.3525, allocations: 1.321 MB / 1.097 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002393/0.355, allocations: 1.251 MB / 1.098 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.3551, allocations: 115.4 kB / 1.098 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003521/0.3554, allocations: 144.3 kB / 1.098 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005643/0.3611, allocations: 3.445 MB / 1.102 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.019e-05/0.3612, allocations: 7.938 kB / 1.102 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002105/0.3614, allocations: 63.97 kB / 1.102 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002669/0.3616, allocations: 203.1 kB / 1.102 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005072/0.3667, allocations: 3.128 MB / 1.105 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01826/0.385, allocations: 13.62 MB / 1.118 GB, free: 5.758 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/0.3876, allocations: 1.731 MB / 1.12 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00208/0.3897, allocations: 1.433 MB / 1.122 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.291e-05/0.3898, allocations: 13 kB / 1.122 GB, free: 2.57 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.3899, allocations: 47.5 kB / 1.122 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=104): time 2.876e-06/0.3899, allocations: 4 kB / 1.122 GB, free: 2.512 MB / 0.8731 GB Notification: Performance of matching and sorting (n=183): time 0.1395/0.5294, allocations: 36.66 MB / 1.157 GB, free: 13.71 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.5295, allocations: 77.23 kB / 1.157 GB, free: 13.62 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.5311, allocations: 1.046 MB / 1.159 GB, free: 12.55 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003616/0.5315, allocations: 57.7 kB / 1.159 GB, free: 12.49 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006549/0.5321, allocations: 0.7912 MB / 1.159 GB, free: 11.69 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007197/0.5329, allocations: 0.6238 MB / 1.16 GB, free: 11.05 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007708/0.5336, allocations: 359.4 kB / 1.16 GB, free: 10.7 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.5338, allocations: 309.1 kB / 1.161 GB, free: 10.39 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002871/0.5367, allocations: 1.932 MB / 1.162 GB, free: 8.457 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003192/0.5399, allocations: 2.293 MB / 1.165 GB, free: 6.039 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006177/0.5461, allocations: 4.384 MB / 1.169 GB, free: 1.527 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.5461, allocations: 8 kB / 1.169 GB, free: 1.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02071/0.5668, allocations: 9.024 MB / 1.178 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.5669, allocations: 11.94 kB / 1.178 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.5669, allocations: 8 kB / 1.178 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01716/0.584, allocations: 5.008 MB / 1.183 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008486/0.5849, allocations: 187.7 kB / 1.183 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05978/0.6447, allocations: 38.94 MB / 1.221 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.6466, allocations: 103.9 kB / 1.221 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002376/0.6468, allocations: 68 kB / 1.221 GB, free: 11.55 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001368/0.6482, allocations: 0.8024 MB / 1.222 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00034/0.6485, allocations: 142.4 kB / 1.222 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01995/0.6685, allocations: 8.882 MB / 1.231 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.251e-05/0.6686, allocations: 24 kB / 1.231 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.759e-05/0.6686, allocations: 28 kB / 1.231 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.204e-05/0.6687, allocations: 11.95 kB / 1.231 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02712/0.6958, allocations: 13.31 MB / 1.244 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.202e-05/0.6959, allocations: 4 kB / 1.244 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/0.6964, allocations: 124.3 kB / 1.244 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5068/1.203, allocations: 4.782 MB / 1.249 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004698/1.204, allocations: 33.97 kB / 1.249 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04937/1.253, allocations: 34.86 MB / 1.283 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.253, allocations: 8.469 kB / 1.283 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01696/1.27, allocations: 8.405 MB / 1.291 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/1.271, allocations: 0.6188 MB / 1.291 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/1.272, allocations: 36.81 kB / 1.291 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/1.273, allocations: 86.38 kB / 1.292 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008745/1.274, allocations: 166.8 kB / 1.292 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.274, allocations: 46.38 kB / 1.292 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008179/1.275, allocations: 0.7404 MB / 1.292 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.275, allocations: 0 / 1.292 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003024/1.278, allocations: 1.004 MB / 1.293 GB, free: 156.1 MB / 0.9981 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002809/1.278, allocations: 145.5 kB / 1.294 GB, free: 156 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008907/1.287, allocations: 6.696 MB / 1.3 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.287, allocations: 0 / 1.3 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006403/1.293, allocations: 3.844 MB / 1.304 GB, free: 152 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/1.295, allocations: 231.8 kB / 1.304 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006875/1.302, allocations: 6.092 MB / 1.31 GB, free: 148 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/1.303, allocations: 1.889 MB / 1.312 GB, free: 146.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/1.303, allocations: 63.44 kB / 1.312 GB, free: 146.3 MB / 0.9981 GB Notification: Performance of SimCode: time 7.02e-07/1.303, allocations: 4 kB / 1.312 GB, free: 146.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.05196/1.355, allocations: 69.03 MB / 1.379 GB, free: 77.28 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches