Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 112.5 kB / 16.42 MB, free: 6.504 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.001656/0.001656, allocations: 190.6 kB / 17.35 MB, free: 5.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.357/1.357, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.54/2.54, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 55.91 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8952/0.8967, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01729/0.914, allocations: 15.74 MB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008715/0.9228, allocations: 5.751 MB / 1.229 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.9242, allocations: 39.94 kB / 1.229 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003541/0.9278, allocations: 1.256 MB / 1.231 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002886/0.9307, allocations: 0.9959 MB / 1.232 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.9335, allocations: 1.017 MB / 1.233 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005124/0.9387, allocations: 3.964 MB / 1.237 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006703/0.9455, allocations: 5.052 MB / 1.241 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002844/0.9483, allocations: 1.741 MB / 1.243 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003785/0.9521, allocations: 2.084 MB / 1.245 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001237/0.9534, allocations: 404 kB / 1.246 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002915/0.9563, allocations: 1.081 MB / 1.247 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002723/0.959, allocations: 1.622 MB / 1.248 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.003289/0.9623, allocations: 1.599 MB / 1.25 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.008521/0.9709, allocations: 5.962 MB / 1.256 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.9709, allocations: 0 / 1.256 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9709, allocations: 0 / 1.256 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001885/0.9711, allocations: 0 / 1.256 GB, free: 13.15 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.008627/0.9798, allocations: 2.833 MB / 1.258 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.9798, allocations: 8.031 kB / 1.258 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/0.991, allocations: 1.999 MB / 1.26 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003695/0.9947, allocations: 1.55 MB / 1.262 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.9949, allocations: 205.8 kB / 1.262 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001096/0.9961, allocations: 264.4 kB / 1.262 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01391/1.01, allocations: 5.455 MB / 1.268 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.992e-05/1.01, allocations: 11.92 kB / 1.268 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008314/1.011, allocations: 112 kB / 1.268 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003517/1.011, allocations: 196.5 kB / 1.268 GB, free: 332 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/1.026, allocations: 5.685 MB / 1.273 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03044/1.057, allocations: 21.07 MB / 1.294 GB, free: 3.703 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005727/1.062, allocations: 3.009 MB / 1.297 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005094/1.068, allocations: 2.129 MB / 1.299 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002073/1.068, allocations: 122 kB / 1.299 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/1.068, allocations: 59.45 kB / 1.299 GB, free: 14.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=139): time 4.408e-06/1.068, allocations: 0 / 1.299 GB, free: 14.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=181): time 0.03942/1.107, allocations: 12.81 MB / 1.312 GB, free: 1.328 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/1.107, allocations: 226.9 kB / 1.312 GB, free: 1.059 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/1.109, allocations: 0.9881 MB / 1.313 GB, free: 64 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002517/1.109, allocations: 53.7 kB / 1.313 GB, free: 4 kB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007969/1.11, allocations: 1.096 MB / 1.314 GB, free: 14.89 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006424/1.111, allocations: 0.6239 MB / 1.315 GB, free: 14.26 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008331/1.111, allocations: 468 kB / 1.315 GB, free: 13.79 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.112, allocations: 333.9 kB / 1.315 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004561/1.116, allocations: 1.923 MB / 1.317 GB, free: 11.53 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005012/1.121, allocations: 2.505 MB / 1.32 GB, free: 8.766 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009696/1.131, allocations: 4.458 MB / 1.324 GB, free: 4.062 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/1.131, allocations: 8 kB / 1.324 GB, free: 4.055 MB / 1.045 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01327/1.144, allocations: 5.521 MB / 1.33 GB, free: 14.52 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.363e-05/1.144, allocations: 16.03 kB / 1.33 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.702e-05/1.144, allocations: 20 kB / 1.33 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003509/1.148, allocations: 1.212 MB / 1.331 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003288/1.151, allocations: 0.7448 MB / 1.331 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01595/1.167, allocations: 11.42 MB / 1.343 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00302/1.17, allocations: 463 kB / 1.343 GB, free: 368 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004226/1.171, allocations: 107.9 kB / 1.343 GB, free: 260 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006412/1.177, allocations: 2.936 MB / 1.346 GB, free: 13.3 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005008/1.182, allocations: 2.501 MB / 1.348 GB, free: 10.55 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009521/1.192, allocations: 4.431 MB / 1.353 GB, free: 5.875 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-05/1.192, allocations: 4 kB / 1.353 GB, free: 5.871 MB / 1.076 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.01281/1.204, allocations: 5.454 MB / 1.358 GB, free: 408 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/1.204, allocations: 15.94 kB / 1.358 GB, free: 392 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.672e-05/1.205, allocations: 16 kB / 1.358 GB, free: 376 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002829/1.207, allocations: 1.13 MB / 1.359 GB, free: 15.23 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003248/1.211, allocations: 0.7448 MB / 1.36 GB, free: 14.48 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01474/1.225, allocations: 11.23 MB / 1.371 GB, free: 2.973 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/1.228, allocations: 443.3 kB / 1.371 GB, free: 2.539 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004606/1.229, allocations: 108 kB / 1.371 GB, free: 2.434 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (220): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,31,92.0%), (6,30,83.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007331/1.23, allocations: 311.6 kB / 1.372 GB, free: 2.121 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005024/1.23, allocations: 138.4 kB / 1.372 GB, free: 1.984 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/1.243, allocations: 5.194 MB / 1.377 GB, free: 12.74 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.681e-05/1.243, allocations: 7.969 kB / 1.377 GB, free: 12.73 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/1.243, allocations: 11.88 kB / 1.377 GB, free: 12.72 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009568/1.244, allocations: 0.5072 MB / 1.378 GB, free: 12.19 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/1.244, allocations: 35.91 kB / 1.378 GB, free: 12.16 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002482/1.246, allocations: 391.4 kB / 1.378 GB, free: 11.77 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003061/1.247, allocations: 153 kB / 1.378 GB, free: 11.62 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01365/1.26, allocations: 5.493 MB / 1.383 GB, free: 6.105 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01352/1.274, allocations: 6.273 MB / 1.39 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004341/1.278, allocations: 1.794 MB / 1.391 GB, free: 14 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00152/1.28, allocations: 0.7176 MB / 1.392 GB, free: 13.29 MB / 1.123 GB Notification: Performance of Backend: time 3.4e-07/1.28, allocations: 0 / 1.392 GB, free: 13.29 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01776/1.298, allocations: 6.99 MB / 1.399 GB, free: 6.25 MB / 1.123 GB Notification: Performance of SimCode: time 0.009533/1.307, allocations: 5.162 MB / 1.404 GB, free: 1.043 MB / 1.123 GB Notification: Performance of Templates: time 0.09105/1.398, allocations: 59.77 MB / 1.462 GB, free: 5.355 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches