Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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 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_RL_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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001463, allocations: 107.8 kB / 16.37 MB, free: 6.477 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.00161/0.00161, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.485/1.485, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.343/2.343, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 63.19 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2806, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02705/0.3077, allocations: 23.42 MB / 0.974 GB, free: 0.582 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0132/0.3209, allocations: 6.496 MB / 0.9804 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002938/0.3239, allocations: 95.5 kB / 0.9804 GB, free: 9.973 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004609/0.3285, allocations: 1.485 MB / 0.9819 GB, free: 8.48 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005633/0.3342, allocations: 1.828 MB / 0.9837 GB, free: 6.645 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004616/0.3388, allocations: 1.465 MB / 0.9851 GB, free: 5.184 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.008988/0.3478, allocations: 6.9 MB / 0.9919 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008724/0.3566, allocations: 6.945 MB / 0.9986 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005102/0.3617, allocations: 2.843 MB / 1.001 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006973/0.3687, allocations: 3.478 MB / 1.005 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001696/0.3704, allocations: 0.5273 MB / 1.005 GB, free: 368 kB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003758/0.3742, allocations: 1.17 MB / 1.006 GB, free: 15.19 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003839/0.378, allocations: 2.464 MB / 1.009 GB, free: 12.72 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004824/0.3829, allocations: 2.528 MB / 1.011 GB, free: 10.18 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.009616/0.3925, allocations: 8.518 MB / 1.02 GB, free: 1.637 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3926, allocations: 0 / 1.02 GB, free: 1.637 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3926, allocations: 0 / 1.02 GB, free: 1.637 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002374/0.3928, allocations: 0 / 1.02 GB, free: 1.637 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.009828/0.4026, allocations: 4.432 MB / 1.024 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.4027, allocations: 8.031 kB / 1.024 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008346/0.411, allocations: 1.685 MB / 1.026 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006163/0.4172, allocations: 2.696 MB / 1.028 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.4175, allocations: 275.7 kB / 1.029 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/0.4186, allocations: 364.3 kB / 1.029 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01224/0.4308, allocations: 7.498 MB / 1.036 GB, free: 304 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-05/0.4309, allocations: 15.78 kB / 1.036 GB, free: 288 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004134/0.4313, allocations: 155.9 kB / 1.036 GB, free: 132 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005578/0.4319, allocations: 491.4 kB / 1.037 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01036/0.4423, allocations: 5.697 MB / 1.042 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04708/0.4894, allocations: 31.5 MB / 1.073 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003245/0.4927, allocations: 2.082 MB / 1.075 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003197/0.4959, allocations: 2.182 MB / 1.077 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002478/0.4962, allocations: 13.31 kB / 1.077 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/0.4963, allocations: 47.88 kB / 1.077 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=146): time 3.006e-06/0.4963, allocations: 0 / 1.077 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of matching and sorting (n=251): time 0.8853/1.382, allocations: 77 MB / 1.153 GB, free: 85.38 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/1.382, allocations: 77.41 kB / 1.153 GB, free: 85.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/1.384, allocations: 1.666 MB / 1.154 GB, free: 83.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0004293/1.384, allocations: 65.7 kB / 1.154 GB, free: 83.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007225/1.385, allocations: 1.747 MB / 1.156 GB, free: 81.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006068/1.385, allocations: 0.8499 MB / 1.157 GB, free: 80.91 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008678/1.386, allocations: 485.2 kB / 1.157 GB, free: 80.43 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.763e-05/1.386, allocations: 309.1 kB / 1.158 GB, free: 80.12 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002849/1.389, allocations: 2.73 MB / 1.16 GB, free: 77.39 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003092/1.392, allocations: 3.328 MB / 1.164 GB, free: 73.82 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006287/1.399, allocations: 6.393 MB / 1.17 GB, free: 67.18 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/1.399, allocations: 7.938 kB / 1.17 GB, free: 67.17 MB / 0.8575 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02594/1.425, allocations: 14.68 MB / 1.184 GB, free: 52.45 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/1.425, allocations: 12 kB / 1.184 GB, free: 52.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/1.425, allocations: 16 kB / 1.184 GB, free: 52.42 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02476/1.449, allocations: 9.247 MB / 1.193 GB, free: 43.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/1.451, allocations: 295.5 kB / 1.193 GB, free: 42.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06909/1.52, allocations: 52.34 MB / 1.245 GB, free: 5.695 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002767/1.523, allocations: 227.7 kB / 1.245 GB, free: 5.473 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003532/1.523, allocations: 98.06 kB / 1.245 GB, free: 5.379 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002783/1.526, allocations: 1.584 MB / 1.246 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006463/1.526, allocations: 245.1 kB / 1.247 GB, free: 3.543 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0312/1.558, allocations: 14.76 MB / 1.261 GB, free: 4.727 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.014e-05/1.558, allocations: 28 kB / 1.261 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001679/1.558, allocations: 44 kB / 1.261 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.433e-05/1.558, allocations: 11.95 kB / 1.261 GB, free: 4.645 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04264/1.6, allocations: 20.51 MB / 1.281 GB, free: 15.98 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.408e-05/1.601, allocations: 4.844 kB / 1.281 GB, free: 15.97 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007558/1.601, allocations: 163.7 kB / 1.281 GB, free: 15.82 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02786/1.629, allocations: 9.007 MB / 1.29 GB, free: 6.781 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005669/1.63, allocations: 48 kB / 1.29 GB, free: 6.734 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08139/1.711, allocations: 51.91 MB / 1.341 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/1.711, allocations: 11.94 kB / 1.341 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03144/1.743, allocations: 14.36 MB / 1.355 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003005/1.746, allocations: 0.8591 MB / 1.356 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006892/1.746, allocations: 44 kB / 1.356 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00226/1.749, allocations: 207.7 kB / 1.356 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001421/1.75, allocations: 237.9 kB / 1.356 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002552/1.75, allocations: 68 kB / 1.356 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001732/1.752, allocations: 1.125 MB / 1.357 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/1.752, allocations: 3.938 kB / 1.357 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.005668/1.758, allocations: 1.613 MB / 1.359 GB, free: 15.28 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005205/1.758, allocations: 172.1 kB / 1.359 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02311/1.782, allocations: 10.56 MB / 1.369 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-05/1.782, allocations: 0 / 1.369 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01723/1.799, allocations: 7.313 MB / 1.377 GB, free: 13.13 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003243/1.802, allocations: 0.5555 MB / 1.377 GB, free: 12.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01741/1.82, allocations: 8.689 MB / 1.386 GB, free: 3.879 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004769/1.824, allocations: 3.224 MB / 1.389 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00126/1.826, allocations: 395.4 kB / 1.389 GB, free: 244 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/1.826, allocations: 99.44 kB / 1.389 GB, free: 144 kB / 1.014 GB Notification: Performance of SimCode: time 3.647e-06/1.826, allocations: 0 / 1.389 GB, free: 144 kB / 1.014 GB Notification: Performance of Templates: time 0.1473/1.973, allocations: 91.84 MB / 1.479 GB, free: 4.582 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches