Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 104.3 kB / 16.35 MB, free: 5.824 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.001667/0.001667, allocations: 190.8 kB / 17.29 MB, free: 5.48 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.469/1.469, allocations: 222.9 MB / 241 MB, free: 15.13 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.227/2.227, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 69.83 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3024, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03725/0.3397, allocations: 33.33 MB / 0.9837 GB, free: 6.598 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02423/0.364, allocations: 14.84 MB / 0.9982 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004597/0.3686, allocations: 159.2 kB / 0.9983 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01062/0.3793, allocations: 3.651 MB / 1.002 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.009923/0.3893, allocations: 2.878 MB / 1.005 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.007402/0.3967, allocations: 2.331 MB / 1.007 GB, free: 14.68 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01283/0.4095, allocations: 8.815 MB / 1.016 GB, free: 5.836 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01529/0.4249, allocations: 9.577 MB / 1.025 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008589/0.4335, allocations: 3.953 MB / 1.029 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008265/0.4418, allocations: 4.038 MB / 1.033 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002531/0.4444, allocations: 0.7148 MB / 1.033 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005259/0.4496, allocations: 1.72 MB / 1.035 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.004609/0.4543, allocations: 2.83 MB / 1.038 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.007519/0.4618, allocations: 3.384 MB / 1.041 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01494/0.4768, allocations: 11.18 MB / 1.052 GB, free: 240 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.4768, allocations: 4 kB / 1.052 GB, free: 236 kB / 0.8262 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4768, allocations: 0 / 1.052 GB, free: 236 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0003019/0.4772, allocations: 4 kB / 1.052 GB, free: 232 kB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01516/0.4924, allocations: 5.983 MB / 1.058 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.4925, allocations: 8.031 kB / 1.058 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007325/0.4998, allocations: 1.138 MB / 1.059 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008967/0.5088, allocations: 3.523 MB / 1.063 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000404/0.5092, allocations: 374.4 kB / 1.063 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001843/0.5111, allocations: 496 kB / 1.063 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01816/0.5293, allocations: 8.005 MB / 1.071 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002267/0.5295, allocations: 23.78 kB / 1.071 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001414/0.531, allocations: 216 kB / 1.071 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001111/0.5321, allocations: 437.6 kB / 1.072 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01252/0.5446, allocations: 6.085 MB / 1.078 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5865/1.131, allocations: 34.89 MB / 1.112 GB, free: 93.04 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003339/1.134, allocations: 2.032 MB / 1.114 GB, free: 92.26 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00259/1.137, allocations: 1.855 MB / 1.116 GB, free: 91.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/1.137, allocations: 22.88 kB / 1.116 GB, free: 91.54 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/1.137, allocations: 58.47 kB / 1.116 GB, free: 91.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=171): time 3.717e-06/1.137, allocations: 0 / 1.116 GB, free: 91.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=276): time 0.132/1.269, allocations: 38.87 MB / 1.154 GB, free: 78.17 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/1.269, allocations: 78.95 kB / 1.154 GB, free: 78.1 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002757/1.272, allocations: 2.29 MB / 1.156 GB, free: 76.88 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003858/1.273, allocations: 73.02 kB / 1.156 GB, free: 76.81 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009247/1.273, allocations: 2.27 MB / 1.158 GB, free: 74.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006157/1.274, allocations: 0.9389 MB / 1.159 GB, free: 74.01 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007955/1.275, allocations: 0.5062 MB / 1.16 GB, free: 73.59 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.927e-05/1.275, allocations: 301.1 kB / 1.16 GB, free: 73.29 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002129/1.277, allocations: 1.977 MB / 1.162 GB, free: 71.31 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00236/1.279, allocations: 2.602 MB / 1.164 GB, free: 68.46 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004805/1.284, allocations: 4.933 MB / 1.169 GB, free: 63.26 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/1.284, allocations: 7.469 kB / 1.169 GB, free: 63.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01183/1.296, allocations: 7.755 MB / 1.177 GB, free: 55.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/1.296, allocations: 15.98 kB / 1.177 GB, free: 55.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/1.296, allocations: 16 kB / 1.177 GB, free: 55.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007833/1.304, allocations: 3.216 MB / 1.18 GB, free: 52.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/1.306, allocations: 404.2 kB / 1.18 GB, free: 51.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03412/1.34, allocations: 33.86 MB / 1.213 GB, free: 17.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002975/1.343, allocations: 167.8 kB / 1.214 GB, free: 16.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00029/1.343, allocations: 108 kB / 1.214 GB, free: 16.81 MB / 0.8575 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002563/1.346, allocations: 1.799 MB / 1.215 GB, free: 15 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000655/1.346, allocations: 328.2 kB / 1.216 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/1.358, allocations: 7.356 MB / 1.223 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/1.358, allocations: 35.94 kB / 1.223 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.039e-05/1.358, allocations: 28 kB / 1.223 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.33e-05/1.358, allocations: 11.95 kB / 1.223 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02228/1.38, allocations: 12.92 MB / 1.236 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/1.38, allocations: 12.16 kB / 1.236 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009342/1.381, allocations: 231.3 kB / 1.236 GB, free: 9.879 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007964/1.389, allocations: 2.847 MB / 1.239 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003673/1.39, allocations: 59.94 kB / 1.239 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04182/1.431, allocations: 32.66 MB / 1.271 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.52e-05/1.431, allocations: 15.92 kB / 1.271 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01227/1.444, allocations: 6.887 MB / 1.277 GB, free: 14.33 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002421/1.446, allocations: 0.7783 MB / 1.278 GB, free: 13.53 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006137/1.447, allocations: 52 kB / 1.278 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/1.449, allocations: 171.8 kB / 1.278 GB, free: 13.31 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009527/1.45, allocations: 249.5 kB / 1.279 GB, free: 13.07 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001938/1.45, allocations: 83.94 kB / 1.279 GB, free: 12.98 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002183/1.452, allocations: 1.521 MB / 1.28 GB, free: 11.46 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/1.452, allocations: 3.562 kB / 1.28 GB, free: 11.46 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.004687/1.457, allocations: 1.367 MB / 1.281 GB, free: 10.09 MB / 0.92 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004102/1.457, allocations: 184.4 kB / 1.282 GB, free: 9.906 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01099/1.468, allocations: 6.92 MB / 1.288 GB, free: 2.906 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.468, allocations: 4 kB / 1.288 GB, free: 2.902 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.007604/1.476, allocations: 4.418 MB / 1.293 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004601/1.48, allocations: 1.109 MB / 1.294 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/1.499, allocations: 10.1 MB / 1.304 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004557/1.503, allocations: 3.639 MB / 1.307 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002041/1.505, allocations: 0.5556 MB / 1.308 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/1.506, allocations: 159.4 kB / 1.308 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of SimCode: time 8.52e-07/1.506, allocations: 0 / 1.308 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of Templates: time 0.1273/1.633, allocations: 75 MB / 1.381 GB, free: 4.902 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches