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.001879/0.001879, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002436/0.002436, allocations: 193.7 kB / 16.14 MB, free: 6.738 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.541/1.541, allocations: 222.9 MB / 239.8 MB, free: 4.559 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.789/2.789, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 71.88 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7223/0.7242, allocations: 151.6 MB / 1.017 GB, free: 2.918 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0134/0.7377, allocations: 10.06 MB / 1.026 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005997/0.7437, allocations: 3.178 MB / 1.03 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007549/0.7445, allocations: 31.81 kB / 1.03 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001657/0.7462, allocations: 0.5407 MB / 1.03 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.7478, allocations: 0.7003 MB / 1.031 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.7494, allocations: 0.6836 MB / 1.031 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007243/0.7567, allocations: 4.482 MB / 1.036 GB, free: 15.18 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006357/0.7631, allocations: 2.856 MB / 1.039 GB, free: 12.29 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002562/0.7657, allocations: 1.063 MB / 1.04 GB, free: 11.22 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003427/0.7692, allocations: 1.597 MB / 1.041 GB, free: 9.621 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000609/0.7698, allocations: 160 kB / 1.041 GB, free: 9.465 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.7714, allocations: 0.5071 MB / 1.042 GB, free: 8.957 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001738/0.7732, allocations: 0.9978 MB / 1.043 GB, free: 7.957 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002732/0.7759, allocations: 1.038 MB / 1.044 GB, free: 6.914 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.006267/0.7822, allocations: 3.618 MB / 1.047 GB, free: 3.285 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.7823, allocations: 4 kB / 1.047 GB, free: 3.281 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7823, allocations: 0 / 1.047 GB, free: 3.281 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001156/0.7824, allocations: 4 kB / 1.047 GB, free: 3.277 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.005551/0.7879, allocations: 2.142 MB / 1.05 GB, free: 1.078 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.788, allocations: 12.03 kB / 1.05 GB, free: 1.066 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008855/0.7969, allocations: 1.313 MB / 1.051 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00299/0.7999, allocations: 1.255 MB / 1.052 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.8, allocations: 115.3 kB / 1.052 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004268/0.8005, allocations: 152.2 kB / 1.052 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00633/0.8068, allocations: 3.433 MB / 1.056 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.047e-05/0.8069, allocations: 7.984 kB / 1.056 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002295/0.8071, allocations: 63.97 kB / 1.056 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000299/0.8074, allocations: 203.1 kB / 1.056 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005628/0.8131, allocations: 3.127 MB / 1.059 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02085/0.8339, allocations: 13.62 MB / 1.072 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002969/0.837, allocations: 1.728 MB / 1.074 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002281/0.8393, allocations: 1.436 MB / 1.075 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.812e-05/0.8394, allocations: 13 kB / 1.075 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.8395, allocations: 39.56 kB / 1.075 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=104): time 6.352e-06/0.8395, allocations: 0 / 1.075 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=183): time 0.1452/0.9848, allocations: 36.68 MB / 1.111 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/0.9849, allocations: 73.41 kB / 1.111 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.9868, allocations: 1.054 MB / 1.112 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0004036/0.9872, allocations: 53.7 kB / 1.112 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007804/0.988, allocations: 0.7873 MB / 1.113 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008269/0.9888, allocations: 0.6278 MB / 1.114 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008266/0.9896, allocations: 359.3 kB / 1.114 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.9898, allocations: 313.1 kB / 1.114 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0032/0.993, allocations: 1.928 MB / 1.116 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003995/0.997, allocations: 2.281 MB / 1.119 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007429/1.004, allocations: 4.39 MB / 1.123 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/1.005, allocations: 4 kB / 1.123 GB, free: 4.523 MB / 0.8731 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02256/1.027, allocations: 9.019 MB / 1.132 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.047e-05/1.027, allocations: 20.02 kB / 1.132 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/1.027, allocations: 12 kB / 1.132 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01833/1.046, allocations: 4.969 MB / 1.136 GB, free: 6.457 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009811/1.047, allocations: 195.6 kB / 1.137 GB, free: 6.266 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06449/1.111, allocations: 35.27 MB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/1.113, allocations: 103.9 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004876/1.114, allocations: 71.94 kB / 1.171 GB, free: 2.262 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.001963/1.116, allocations: 0.8095 MB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005576/1.116, allocations: 138.3 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02297/1.139, allocations: 8.886 MB / 1.181 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.902e-05/1.139, allocations: 24 kB / 1.181 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000112/1.14, allocations: 35.92 kB / 1.181 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.049e-05/1.14, allocations: 7.969 kB / 1.181 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03191/1.171, allocations: 13.3 MB / 1.194 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.582e-05/1.172, allocations: 4 kB / 1.194 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005726/1.172, allocations: 123.8 kB / 1.194 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01825/1.19, allocations: 4.755 MB / 1.199 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000451/1.191, allocations: 28 kB / 1.199 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05729/1.248, allocations: 31.6 MB / 1.23 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/1.248, allocations: 7.938 kB / 1.23 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02112/1.269, allocations: 8.4 MB / 1.238 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/1.271, allocations: 0.6124 MB / 1.238 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005508/1.272, allocations: 39.94 kB / 1.238 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/1.273, allocations: 87.89 kB / 1.239 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009675/1.274, allocations: 165.4 kB / 1.239 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002186/1.274, allocations: 52 kB / 1.239 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001314/1.276, allocations: 0.7382 MB / 1.239 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.61e-07/1.276, allocations: 0 / 1.239 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003673/1.279, allocations: 1.008 MB / 1.24 GB, free: 10.55 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.0004045/1.28, allocations: 143.1 kB / 1.241 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01122/1.291, allocations: 5.85 MB / 1.246 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.291, allocations: 0 / 1.246 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008761/1.3, allocations: 3.828 MB / 1.25 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/1.302, allocations: 226.1 kB / 1.25 GB, free: 412 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5219/1.824, allocations: 5.8 MB / 1.256 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002287/1.826, allocations: 1.861 MB / 1.258 GB, free: 215.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001078/1.827, allocations: 351.1 kB / 1.258 GB, free: 215.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/1.827, allocations: 63.33 kB / 1.258 GB, free: 215.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.784e-06/1.827, allocations: 0 / 1.258 GB, free: 215.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.07044/1.898, allocations: 57.86 MB / 1.315 GB, free: 180.6 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=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/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