Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.OnePhase.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_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.OnePhase.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_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.0009999, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.007606/0.007606, allocations: 170.3 kB / 16.27 MB, free: 6.652 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.506/1.506, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.996/2.996, allocations: 470.6 MB / 0.7442 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003703, allocations: 10.84 kB / 0.9123 GB, free: 34.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.374, allocations: 161.4 MB / 1.07 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.009767/0.3838, allocations: 4.979 MB / 1.075 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008546/0.3924, allocations: 4.065 MB / 1.079 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005428/0.393, allocations: 15.88 kB / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004036/0.3934, allocations: 99.23 kB / 1.079 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.3953, allocations: 0.6342 MB / 1.079 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.3967, allocations: 0.4884 MB / 1.08 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00211/0.3988, allocations: 1.634 MB / 1.082 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.4003, allocations: 0.7086 MB / 1.082 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007168/0.401, allocations: 382.4 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.402, allocations: 0.5215 MB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.4022, allocations: 40 kB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.4041, allocations: 1.006 MB / 1.084 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004692/0.4046, allocations: 303.1 kB / 1.084 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006775/0.4053, allocations: 411.5 kB / 1.085 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002871/0.4082, allocations: 1.417 MB / 1.086 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4082, allocations: 0 / 1.086 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4082, allocations: 0 / 1.086 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.131e-05/0.4083, allocations: 0 / 1.086 GB, free: 10.6 MB / 0.8419 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.002606/0.4109, allocations: 1.013 MB / 1.087 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4109, allocations: 8.031 kB / 1.087 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/0.4215, allocations: 1.724 MB / 1.089 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.423, allocations: 0.6118 MB / 1.089 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.922e-05/0.4231, allocations: 53.66 kB / 1.09 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002887/0.4234, allocations: 64.25 kB / 1.09 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005714/0.4291, allocations: 1.921 MB / 1.091 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.781e-05/0.4291, allocations: 4 kB / 1.091 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.4293, allocations: 31.97 kB / 1.091 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004059/0.4297, allocations: 161.3 kB / 1.092 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008582/0.4383, allocations: 2.628 MB / 1.094 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01124/0.4496, allocations: 6.676 MB / 1.101 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003753/0.4534, allocations: 1.282 MB / 1.102 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002825/0.4562, allocations: 0.9199 MB / 1.103 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00242/0.4587, allocations: 1.479 MB / 1.104 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.4587, allocations: 42.56 kB / 1.104 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=73): time 8.406e-06/0.4587, allocations: 0 / 1.104 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of matching and sorting (n=107): time 0.03167/0.4904, allocations: 8.392 MB / 1.113 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.384e-05/0.4906, allocations: 98.05 kB / 1.113 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009712/0.4915, allocations: 0.5769 MB / 1.113 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001966/0.4917, allocations: 45.7 kB / 1.113 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.4921, allocations: 415 kB / 1.114 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004949/0.4926, allocations: 370.7 kB / 1.114 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.4929, allocations: 105.7 kB / 1.114 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002283/0.4931, allocations: 386.8 kB / 1.114 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003332/0.4965, allocations: 1.127 MB / 1.116 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003598/0.5001, allocations: 1.468 MB / 1.117 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007032/0.5071, allocations: 2.628 MB / 1.12 GB, free: 7.367 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/0.5072, allocations: 0 / 1.12 GB, free: 7.367 MB / 0.8731 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01215/0.5193, allocations: 3.924 MB / 1.123 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003676/0.5197, allocations: 398.3 kB / 1.124 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.5198, allocations: 19.94 kB / 1.124 GB, free: 2.871 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005743/0.5255, allocations: 1.388 MB / 1.125 GB, free: 1.469 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002294/0.5278, allocations: 467.2 kB / 1.126 GB, free: 1.012 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01822/0.5461, allocations: 11.23 MB / 1.137 GB, free: 5.246 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002762/0.5489, allocations: 315.6 kB / 1.137 GB, free: 4.938 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003646/0.5493, allocations: 71.95 kB / 1.137 GB, free: 4.867 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.5493, allocations: 0 / 1.137 GB, free: 4.867 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01138/0.5607, allocations: 3.6 MB / 1.14 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.737e-05/0.5607, allocations: 8 kB / 1.14 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004215/0.5649, allocations: 1.108 MB / 1.142 GB, free: 128 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002301/0.5673, allocations: 483.1 kB / 1.142 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/0.5826, allocations: 10.35 MB / 1.152 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/0.5851, allocations: 311.6 kB / 1.152 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003382/0.5855, allocations: 67.95 kB / 1.152 GB, free: 4.391 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.001004/0.5865, allocations: 376.7 kB / 1.153 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000435/0.5869, allocations: 94.89 kB / 1.153 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01197/0.5989, allocations: 3.786 MB / 1.157 GB, free: 104 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.5989, allocations: 12 kB / 1.157 GB, free: 92 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.148e-05/0.599, allocations: 11.98 kB / 1.157 GB, free: 80 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-05/0.599, allocations: 3.984 kB / 1.157 GB, free: 76 kB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01448/0.6135, allocations: 5.485 MB / 1.162 GB, free: 10.45 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/0.6135, allocations: 5.156 kB / 1.162 GB, free: 10.44 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/0.6153, allocations: 367.4 kB / 1.162 GB, free: 10.08 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004914/0.6202, allocations: 1.244 MB / 1.164 GB, free: 8.824 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000195/0.6204, allocations: 35.97 kB / 1.164 GB, free: 8.789 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01582/0.6363, allocations: 10.75 MB / 1.174 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/0.6363, allocations: 11.94 kB / 1.174 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/0.6475, allocations: 3.681 MB / 1.178 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000733/0.6482, allocations: 339.9 kB / 1.178 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/0.6485, allocations: 27.98 kB / 1.178 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002158/0.6506, allocations: 315.5 kB / 1.178 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004112/0.6511, allocations: 116 kB / 1.178 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.6512, allocations: 43.98 kB / 1.179 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007399/0.652, allocations: 410.8 kB / 1.179 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.652, allocations: 0 / 1.179 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002669/0.6546, allocations: 0.5977 MB / 1.179 GB, free: 7.863 MB / 0.9356 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.0003211/0.655, allocations: 143.2 kB / 1.18 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01605/0.671, allocations: 5.745 MB / 1.185 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/0.6711, allocations: 5.5 kB / 1.185 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.005968/0.6771, allocations: 2.121 MB / 1.187 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/0.6792, allocations: 158.3 kB / 1.187 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.6915, allocations: 3.907 MB / 1.191 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.6928, allocations: 1.114 MB / 1.192 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002409/0.6952, allocations: 0.5461 MB / 1.193 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004549/0.6957, allocations: 75.38 kB / 1.193 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of SimCode: time 2.715e-06/0.6957, allocations: 0 / 1.193 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of Templates: time 0.04813/0.7438, allocations: 26.89 MB / 1.219 GB, free: 15 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches