Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009605/0.009605, allocations: 174 kB / 16.27 MB, free: 6.676 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.5/1.5, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.841/2.841, allocations: 462.6 MB / 0.7363 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003784, allocations: 10.12 kB / 0.9027 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4021, allocations: 159.6 MB / 1.059 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull): time 0.006789/0.4089, allocations: 5.085 MB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007288/0.4162, allocations: 4.077 MB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005264/0.4168, allocations: 15.88 kB / 1.068 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003723/0.4172, allocations: 99.17 kB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002233/0.4194, allocations: 0.6225 MB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.421, allocations: 0.5029 MB / 1.069 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001849/0.4229, allocations: 1.634 MB / 1.07 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.4242, allocations: 0.7004 MB / 1.071 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005989/0.4248, allocations: 390.4 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008874/0.4257, allocations: 0.5254 MB / 1.072 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.911e-05/0.4258, allocations: 36 kB / 1.072 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.4277, allocations: 1.01 MB / 1.073 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003461/0.4281, allocations: 303.1 kB / 1.073 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000433/0.4285, allocations: 415.6 kB / 1.074 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001819/0.4303, allocations: 1.41 MB / 1.075 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4304, allocations: 0 / 1.075 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.725e-06/0.4304, allocations: 0 / 1.075 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.4304, allocations: 0 / 1.075 GB, free: 4.129 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.002249/0.4326, allocations: 1.017 MB / 1.076 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.4327, allocations: 15.97 kB / 1.076 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/0.4429, allocations: 1.704 MB / 1.078 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.4446, allocations: 0.6156 MB / 1.078 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.553e-05/0.4446, allocations: 45.67 kB / 1.078 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.4449, allocations: 68.34 kB / 1.078 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005387/0.4502, allocations: 1.909 MB / 1.08 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.4503, allocations: 4 kB / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.4505, allocations: 27.97 kB / 1.08 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003443/0.4508, allocations: 149.3 kB / 1.08 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007873/0.4587, allocations: 2.62 MB / 1.083 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009628/0.4684, allocations: 6.657 MB / 1.089 GB, free: 4.766 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003314/0.4717, allocations: 1.266 MB / 1.091 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002548/0.4743, allocations: 0.9076 MB / 1.092 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002057/0.4763, allocations: 1.479 MB / 1.093 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.4764, allocations: 50.48 kB / 1.093 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=73): time 3.597e-06/0.4764, allocations: 0 / 1.093 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of matching and sorting (n=107): time 0.02839/0.5048, allocations: 8.258 MB / 1.101 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/0.5049, allocations: 90.11 kB / 1.101 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008652/0.5058, allocations: 0.5847 MB / 1.102 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002141/0.506, allocations: 45.7 kB / 1.102 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.5063, allocations: 411 kB / 1.102 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003722/0.5067, allocations: 374.7 kB / 1.103 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.5069, allocations: 105.7 kB / 1.103 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.5071, allocations: 386.8 kB / 1.103 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003046/0.5101, allocations: 1.111 MB / 1.104 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003422/0.5136, allocations: 1.46 MB / 1.106 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006641/0.5202, allocations: 2.608 MB / 1.108 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.5203, allocations: 4 kB / 1.108 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01137/0.5317, allocations: 3.905 MB / 1.112 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002864/0.532, allocations: 397.9 kB / 1.112 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.532, allocations: 12 kB / 1.112 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005575/0.5376, allocations: 1.376 MB / 1.114 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/0.5397, allocations: 467.2 kB / 1.114 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01566/0.5554, allocations: 11.24 MB / 1.125 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/0.5579, allocations: 311.6 kB / 1.125 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.558, allocations: 63.97 kB / 1.125 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.558, allocations: 4 kB / 1.125 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01055/0.5686, allocations: 3.584 MB / 1.129 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/0.5687, allocations: 12 kB / 1.129 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004281/0.5729, allocations: 1.1 MB / 1.13 GB, free: 9.969 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002203/0.5752, allocations: 479.1 kB / 1.131 GB, free: 9.5 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01434/0.5895, allocations: 10.34 MB / 1.141 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/0.5922, allocations: 307.7 kB / 1.141 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.5924, allocations: 64.06 kB / 1.141 GB, free: 14.26 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (123): * Single equations (assignments): 119 * 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): 3 systems {(2,8,100.0%), (2,8,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0007147/0.5931, allocations: 384.6 kB / 1.141 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/0.5934, allocations: 86.91 kB / 1.141 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/0.6047, allocations: 3.778 MB / 1.145 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.6047, allocations: 12 kB / 1.145 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/0.6047, allocations: 8 kB / 1.145 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.6048, allocations: 3.984 kB / 1.145 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/0.6181, allocations: 5.487 MB / 1.151 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.6182, allocations: 8.688 kB / 1.151 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/0.62, allocations: 363.4 kB / 1.151 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004901/0.6249, allocations: 1.244 MB / 1.152 GB, free: 2.703 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.625, allocations: 35.97 kB / 1.152 GB, free: 2.668 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01434/0.6394, allocations: 10.76 MB / 1.163 GB, free: 7.375 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.946e-06/0.6394, allocations: 11.94 kB / 1.163 GB, free: 7.363 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/0.6502, allocations: 3.673 MB / 1.166 GB, free: 3.59 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000792/0.651, allocations: 347.8 kB / 1.167 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.6512, allocations: 24 kB / 1.167 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00208/0.6533, allocations: 319.5 kB / 1.167 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004693/0.6538, allocations: 104.1 kB / 1.167 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.6539, allocations: 43.97 kB / 1.167 GB, free: 2.75 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006494/0.6545, allocations: 406.8 kB / 1.167 GB, free: 2.352 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6545, allocations: 0 / 1.167 GB, free: 2.352 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00322/0.6578, allocations: 0.5977 MB / 1.168 GB, free: 1.754 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (68): * Single equations (assignments): 64 * 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): 3 systems {(3,9,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004052/0.6582, allocations: 148.3 kB / 1.168 GB, free: 1.602 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01542/0.6736, allocations: 5.723 MB / 1.174 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/0.6737, allocations: 0 / 1.174 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.005564/0.6792, allocations: 2.126 MB / 1.176 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/0.681, allocations: 163.2 kB / 1.176 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.6925, allocations: 3.893 MB / 1.18 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009073/0.6935, allocations: 1.11 MB / 1.181 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002015/0.6955, allocations: 0.5422 MB / 1.181 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003239/0.6958, allocations: 83.38 kB / 1.181 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of SimCode: time 1.112e-06/0.6958, allocations: 0 / 1.181 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of Templates: time 0.04413/0.74, allocations: 26.5 MB / 1.207 GB, free: 9.332 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches