Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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_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_10_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_10_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.0014/0.0014, allocations: 109.2 kB / 16.27 MB, free: 6.355 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.001386/0.001386, allocations: 191.3 kB / 17.2 MB, free: 5.953 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.465/1.465, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.777/2.777, allocations: 437.1 MB / 0.7111 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 72.34 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3055, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01433/0.3199, allocations: 10.09 MB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.006349/0.3263, allocations: 3.177 MB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007415/0.3271, allocations: 35.81 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.3289, allocations: 0.5946 MB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.3307, allocations: 0.7349 MB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.3324, allocations: 0.7486 MB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003895/0.3363, allocations: 2.988 MB / 1.036 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003522/0.3399, allocations: 2.622 MB / 1.038 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00198/0.3419, allocations: 1.25 MB / 1.04 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002474/0.3444, allocations: 1.562 MB / 1.041 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0005619/0.345, allocations: 236 kB / 1.041 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.3461, allocations: 0.4916 MB / 1.042 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001217/0.3473, allocations: 1.084 MB / 1.043 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001473/0.3488, allocations: 1.112 MB / 1.044 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004458/0.3533, allocations: 3.661 MB / 1.048 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.3533, allocations: 0 / 1.048 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3533, allocations: 0 / 1.048 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.343e-05/0.3534, allocations: 0 / 1.048 GB, free: 12.09 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005057/0.3585, allocations: 2.146 MB / 1.05 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.3586, allocations: 8.922 kB / 1.05 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009479/0.368, allocations: 1.317 MB / 1.051 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003212/0.3713, allocations: 1.251 MB / 1.052 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002222/0.3716, allocations: 115.4 kB / 1.052 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001185/0.3728, allocations: 152.3 kB / 1.053 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006787/0.3796, allocations: 3.441 MB / 1.056 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.814e-05/0.3796, allocations: 4 kB / 1.056 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002258/0.3799, allocations: 63.97 kB / 1.056 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002898/0.3802, allocations: 203.1 kB / 1.056 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005722/0.3859, allocations: 3.131 MB / 1.059 GB, free: 56 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02195/0.4079, allocations: 13.61 MB / 1.072 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4617/0.8696, allocations: 1.724 MB / 1.074 GB, free: 59.2 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002589/0.8723, allocations: 1.437 MB / 1.076 GB, free: 59.19 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.8724, allocations: 11.94 kB / 1.076 GB, free: 59.19 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.8725, allocations: 45.41 kB / 1.076 GB, free: 59.15 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=104): time 3.737e-06/0.8725, allocations: 0.5625 kB / 1.076 GB, free: 59.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=183): time 0.1545/1.027, allocations: 36.67 MB / 1.111 GB, free: 51.46 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/1.027, allocations: 70.88 kB / 1.112 GB, free: 51.4 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/1.029, allocations: 1.063 MB / 1.113 GB, free: 50.8 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002761/1.029, allocations: 56.58 kB / 1.113 GB, free: 50.75 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/1.029, allocations: 0.7845 MB / 1.113 GB, free: 50.05 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005851/1.03, allocations: 0.6262 MB / 1.114 GB, free: 49.51 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008398/1.031, allocations: 361.9 kB / 1.114 GB, free: 49.33 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 3.382e-05/1.031, allocations: 301.1 kB / 1.115 GB, free: 49.04 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00239/1.033, allocations: 1.929 MB / 1.116 GB, free: 48.05 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002447/1.036, allocations: 2.286 MB / 1.119 GB, free: 46.65 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00463/1.04, allocations: 4.403 MB / 1.123 GB, free: 44.14 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/1.04, allocations: 3.688 kB / 1.123 GB, free: 44.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01793/1.058, allocations: 9.013 MB / 1.132 GB, free: 35.87 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/1.058, allocations: 8 kB / 1.132 GB, free: 35.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/1.058, allocations: 12 kB / 1.132 GB, free: 35.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01563/1.074, allocations: 5.014 MB / 1.137 GB, free: 30.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000825/1.075, allocations: 187.7 kB / 1.137 GB, free: 30.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05197/1.127, allocations: 38.92 MB / 1.175 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/1.129, allocations: 102.5 kB / 1.175 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003656/1.129, allocations: 75.88 kB / 1.175 GB, free: 7.016 MB / 0.8575 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.001613/1.131, allocations: 0.8017 MB / 1.176 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004675/1.132, allocations: 142.3 kB / 1.176 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02256/1.154, allocations: 8.89 MB / 1.185 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/1.154, allocations: 20 kB / 1.185 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.43e-05/1.154, allocations: 32 kB / 1.185 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.662e-05/1.154, allocations: 7.969 kB / 1.185 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03024/1.185, allocations: 13.3 MB / 1.198 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.319e-05/1.185, allocations: 0 / 1.198 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005569/1.185, allocations: 125.7 kB / 1.198 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01784/1.203, allocations: 4.783 MB / 1.203 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000364/1.203, allocations: 32 kB / 1.203 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05919/1.263, allocations: 34.87 MB / 1.237 GB, free: 7.285 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.263, allocations: 4 kB / 1.237 GB, free: 7.281 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02136/1.284, allocations: 8.397 MB / 1.245 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/1.286, allocations: 0.6201 MB / 1.245 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004027/1.286, allocations: 39.98 kB / 1.245 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/1.287, allocations: 95.89 kB / 1.246 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007956/1.288, allocations: 161.6 kB / 1.246 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/1.288, allocations: 48 kB / 1.246 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001117/1.29, allocations: 0.7382 MB / 1.246 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/1.29, allocations: 0 / 1.246 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003218/1.293, allocations: 1.004 MB / 1.247 GB, free: 12.07 MB / 0.9356 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.0003258/1.293, allocations: 147.9 kB / 1.248 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0125/1.306, allocations: 6.693 MB / 1.254 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/1.306, allocations: 0 / 1.254 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.008951/1.315, allocations: 3.849 MB / 1.258 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/1.317, allocations: 241.5 kB / 1.258 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00945/1.326, allocations: 5.257 MB / 1.263 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002059/1.328, allocations: 1.89 MB / 1.265 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003441/1.328, allocations: 71.42 kB / 1.265 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of SimCode: time 8.72e-07/1.328, allocations: 0 / 1.265 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of Templates: time 0.08796/1.416, allocations: 69.03 MB / 1.333 GB, free: 4.684 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches