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.001182/0.001182, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001434/0.001434, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.415/1.415, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.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.707/2.707, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 67.89 kB / 0.8685 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7061/0.7074, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0116/0.7191, allocations: 10.07 MB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005383/0.7245, allocations: 3.178 MB / 1.03 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008871/0.7254, allocations: 31.81 kB / 1.03 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.7272, allocations: 0.5329 MB / 1.03 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.7289, allocations: 0.7081 MB / 1.031 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.7305, allocations: 0.6864 MB / 1.031 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004405/0.735, allocations: 4.474 MB / 1.036 GB, free: 15.06 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004359/0.7393, allocations: 2.859 MB / 1.039 GB, free: 12.17 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.7416, allocations: 1.059 MB / 1.04 GB, free: 11.11 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002928/0.7445, allocations: 1.617 MB / 1.041 GB, free: 9.484 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.00108/0.7456, allocations: 160 kB / 1.041 GB, free: 9.328 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/0.7477, allocations: 0.4992 MB / 1.042 GB, free: 8.828 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001952/0.7496, allocations: 1.002 MB / 1.043 GB, free: 7.824 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002225/0.7519, allocations: 1.038 MB / 1.044 GB, free: 6.781 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00485/0.7567, allocations: 3.622 MB / 1.047 GB, free: 3.148 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7567, allocations: 0 / 1.047 GB, free: 3.148 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7568, allocations: 4 kB / 1.047 GB, free: 3.145 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001243/0.7569, allocations: 0 / 1.047 GB, free: 3.145 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005885/0.7628, allocations: 2.138 MB / 1.049 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001002/0.7629, allocations: 12.03 kB / 1.05 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008668/0.7716, allocations: 1.313 MB / 1.051 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/0.7742, allocations: 1.251 MB / 1.052 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.7744, allocations: 111.4 kB / 1.052 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006627/0.775, allocations: 148.2 kB / 1.052 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006695/0.7817, allocations: 3.445 MB / 1.056 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.11e-05/0.7818, allocations: 4 kB / 1.056 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002786/0.7821, allocations: 63.97 kB / 1.056 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002847/0.7824, allocations: 207.1 kB / 1.056 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005362/0.7878, allocations: 3.131 MB / 1.059 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0175/0.8053, allocations: 13.62 MB / 1.072 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/0.8078, allocations: 1.72 MB / 1.074 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002224/0.8101, allocations: 1.436 MB / 1.075 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.8102, allocations: 17 kB / 1.075 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.8102, allocations: 39.56 kB / 1.075 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=104): time 2.985e-06/0.8102, allocations: 3.938 kB / 1.075 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of matching and sorting (n=183): time 0.1377/0.9479, allocations: 36.67 MB / 1.111 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.948, allocations: 81.41 kB / 1.111 GB, free: 492 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.9498, allocations: 1.05 MB / 1.112 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003758/0.9502, allocations: 53.7 kB / 1.112 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005943/0.9508, allocations: 0.7873 MB / 1.113 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008443/0.9517, allocations: 0.62 MB / 1.114 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009937/0.9527, allocations: 367.3 kB / 1.114 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.568e-05/0.9528, allocations: 305.1 kB / 1.114 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00282/0.9556, allocations: 1.928 MB / 1.116 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003088/0.9587, allocations: 2.281 MB / 1.118 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006116/0.9649, allocations: 4.394 MB / 1.123 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.661e-05/0.9649, allocations: 4 kB / 1.123 GB, free: 4.398 MB / 0.8731 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02051/0.9854, allocations: 9.022 MB / 1.132 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.9855, allocations: 13.97 kB / 1.132 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/0.9855, allocations: 8 kB / 1.132 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01772/1.003, allocations: 4.97 MB / 1.136 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008953/1.004, allocations: 199.6 kB / 1.137 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05667/1.061, allocations: 35.28 MB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/1.063, allocations: 107.9 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004155/1.063, allocations: 71.98 kB / 1.171 GB, free: 2.121 MB / 0.92 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.001954/1.065, allocations: 0.8017 MB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000599/1.066, allocations: 138.3 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02029/1.086, allocations: 8.89 MB / 1.181 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.031e-05/1.086, allocations: 20 kB / 1.181 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001246/1.086, allocations: 32 kB / 1.181 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.372e-05/1.087, allocations: 11.95 kB / 1.181 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02909/1.116, allocations: 13.3 MB / 1.194 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/1.116, allocations: 4 kB / 1.194 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/1.116, allocations: 123.8 kB / 1.194 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01703/1.133, allocations: 4.762 MB / 1.199 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004334/1.134, allocations: 28 kB / 1.199 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05035/1.184, allocations: 31.58 MB / 1.23 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.184, allocations: 15.88 kB / 1.23 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01986/1.204, allocations: 8.396 MB / 1.238 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/1.205, allocations: 0.6124 MB / 1.238 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005864/1.206, allocations: 36 kB / 1.238 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/1.208, allocations: 91.88 kB / 1.238 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009083/1.209, allocations: 169.4 kB / 1.239 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001983/1.209, allocations: 44 kB / 1.239 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001512/1.21, allocations: 0.7421 MB / 1.239 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.21, allocations: 0 / 1.239 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003697/1.214, allocations: 1.008 MB / 1.24 GB, free: 10.43 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.0003678/1.214, allocations: 151 kB / 1.241 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009811/1.224, allocations: 5.85 MB / 1.246 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.224, allocations: 0 / 1.246 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007908/1.232, allocations: 3.828 MB / 1.25 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/1.234, allocations: 225.9 kB / 1.25 GB, free: 280 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5576/1.792, allocations: 5.803 MB / 1.256 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002498/1.794, allocations: 1.86 MB / 1.258 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001169/1.795, allocations: 349.7 kB / 1.258 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/1.796, allocations: 60.31 kB / 1.258 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.754e-06/1.796, allocations: 1.125 kB / 1.258 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.07758/1.873, allocations: 57.87 MB / 1.315 GB, free: 180.4 MB / 0.9981 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=480 -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/jenkins/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