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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009973/0.0009975, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 184.4 kB / 16.92 MB, free: 6.777 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.429/1.429, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.788/2.788, allocations: 437.8 MB / 0.7128 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003908, allocations: 8 kB / 0.8735 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6696/0.67, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01168/0.6817, allocations: 9.592 MB / 1.033 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006398/0.6882, allocations: 3.151 MB / 1.036 GB, free: 3.121 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.6894, allocations: 27.81 kB / 1.036 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007638/0.6902, allocations: 186.6 kB / 1.036 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.002201/0.6924, allocations: 0.7081 MB / 1.037 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.6941, allocations: 0.6356 MB / 1.038 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005247/0.6994, allocations: 4.486 MB / 1.042 GB, free: 13.07 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005189/0.7046, allocations: 3.15 MB / 1.045 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.7065, allocations: 0.9417 MB / 1.046 GB, free: 8.914 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002475/0.709, allocations: 1.457 MB / 1.047 GB, free: 7.453 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0005228/0.7095, allocations: 112 kB / 1.048 GB, free: 7.344 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.711, allocations: 463.2 kB / 1.048 GB, free: 6.891 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001357/0.7124, allocations: 0.9276 MB / 1.049 GB, free: 5.961 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001683/0.7141, allocations: 0.9696 MB / 1.05 GB, free: 4.98 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003157/0.7172, allocations: 3.014 MB / 1.053 GB, free: 1.961 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.7172, allocations: 0 / 1.053 GB, free: 1.961 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.215e-06/0.7173, allocations: 3.938 kB / 1.053 GB, free: 1.957 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.434e-05/0.7173, allocations: 0 / 1.053 GB, free: 1.957 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.003989/0.7213, allocations: 1.774 MB / 1.055 GB, free: 132 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/0.7214, allocations: 8.031 kB / 1.055 GB, free: 124 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009192/0.7306, allocations: 1.313 MB / 1.056 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002567/0.7332, allocations: 1.255 MB / 1.057 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.431e-05/0.7333, allocations: 111.4 kB / 1.057 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000414/0.7337, allocations: 148.2 kB / 1.057 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005535/0.7393, allocations: 3.441 MB / 1.061 GB, free: 9.715 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.966e-05/0.7394, allocations: 3.938 kB / 1.061 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002246/0.7396, allocations: 67.95 kB / 1.061 GB, free: 9.645 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002707/0.7399, allocations: 203.1 kB / 1.061 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005016/0.7449, allocations: 3.128 MB / 1.064 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01776/0.7627, allocations: 13.58 MB / 1.077 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002661/0.7654, allocations: 1.729 MB / 1.079 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001985/0.7674, allocations: 1.432 MB / 1.08 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.127e-05/0.7675, allocations: 13 kB / 1.08 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.7675, allocations: 47.5 kB / 1.08 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=104): time 3.256e-06/0.7675, allocations: 0 / 1.08 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=183): time 0.1529/0.9204, allocations: 35.97 MB / 1.116 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.9206, allocations: 77.41 kB / 1.116 GB, free: 436 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/0.9225, allocations: 1.046 MB / 1.117 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.00043/0.9229, allocations: 53.7 kB / 1.117 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006822/0.9236, allocations: 0.7911 MB / 1.117 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009082/0.9245, allocations: 0.62 MB / 1.118 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004816/0.925, allocations: 157.6 kB / 1.118 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.9251, allocations: 309.1 kB / 1.118 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003109/0.9283, allocations: 1.928 MB / 1.12 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003412/0.9317, allocations: 2.281 MB / 1.123 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00674/0.9384, allocations: 4.391 MB / 1.127 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-05/0.9385, allocations: 4 kB / 1.127 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02324/0.9617, allocations: 9.024 MB / 1.136 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.9618, allocations: 15.88 kB / 1.136 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.625e-05/0.9619, allocations: 12 kB / 1.136 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01838/0.9803, allocations: 4.97 MB / 1.141 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009299/0.9813, allocations: 191.7 kB / 1.141 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05837/1.04, allocations: 35.16 MB / 1.175 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/1.042, allocations: 99.89 kB / 1.175 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003645/1.042, allocations: 68 kB / 1.175 GB, free: 2.406 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.001778/1.044, allocations: 0.81 MB / 1.176 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004478/1.044, allocations: 146.3 kB / 1.176 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02233/1.067, allocations: 8.89 MB / 1.185 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.658e-05/1.067, allocations: 16 kB / 1.185 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.684e-05/1.067, allocations: 28 kB / 1.185 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.302e-05/1.067, allocations: 7.969 kB / 1.185 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02964/1.097, allocations: 13.28 MB / 1.198 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.376e-05/1.097, allocations: 7.938 kB / 1.198 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000527/1.097, allocations: 119.8 kB / 1.198 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01822/1.115, allocations: 4.756 MB / 1.203 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004155/1.116, allocations: 36 kB / 1.203 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05299/1.169, allocations: 31.44 MB / 1.233 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/1.169, allocations: 11.88 kB / 1.233 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02151/1.191, allocations: 8.392 MB / 1.242 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001561/1.192, allocations: 0.6202 MB / 1.242 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005371/1.193, allocations: 32 kB / 1.242 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/1.194, allocations: 95.88 kB / 1.242 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008895/1.195, allocations: 165.4 kB / 1.242 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001937/1.195, allocations: 44 kB / 1.243 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00128/1.197, allocations: 0.7382 MB / 1.243 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.197, allocations: 0 / 1.243 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003463/1.2, allocations: 1.004 MB / 1.244 GB, free: 10.88 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.0003799/1.201, allocations: 152.3 kB / 1.244 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01077/1.211, allocations: 5.851 MB / 1.25 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/1.211, allocations: 0 / 1.25 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008487/1.22, allocations: 3.805 MB / 1.254 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/1.222, allocations: 226.1 kB / 1.254 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4956/1.718, allocations: 6.084 MB / 1.26 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002243/1.72, allocations: 1.896 MB / 1.262 GB, free: 212.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003738/1.721, allocations: 67.11 kB / 1.262 GB, free: 212.6 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/1.721, allocations: 0 / 1.262 GB, free: 212.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.07303/1.794, allocations: 68.78 MB / 1.329 GB, free: 167.1 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/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