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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.001451/0.001451, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001623/0.001623, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.723/2.723, allocations: 472.7 MB / 0.746 GB, free: 500 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 64.14 kB / 1.07 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8927/0.8944, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01891/0.9133, allocations: 15.76 MB / 1.242 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009318/0.9227, allocations: 5.747 MB / 1.247 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.9237, allocations: 43.94 kB / 1.247 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003198/0.927, allocations: 1.248 MB / 1.249 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002394/0.9294, allocations: 0.9999 MB / 1.25 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002582/0.932, allocations: 1.032 MB / 1.251 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004628/0.9366, allocations: 3.983 MB / 1.254 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007081/0.9437, allocations: 5.032 MB / 1.259 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003675/0.9474, allocations: 1.742 MB / 1.261 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003912/0.9514, allocations: 2.088 MB / 1.263 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001186/0.9526, allocations: 404 kB / 1.264 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003049/0.9556, allocations: 1.084 MB / 1.265 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002547/0.9582, allocations: 1.618 MB / 1.266 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003393/0.9616, allocations: 1.599 MB / 1.268 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007431/0.9691, allocations: 5.975 MB / 1.274 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.9691, allocations: 4 kB / 1.274 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9691, allocations: 4 kB / 1.274 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001506/0.9693, allocations: 0 / 1.274 GB, free: 12.97 MB / 0.9981 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.007605/0.9769, allocations: 2.887 MB / 1.276 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.9769, allocations: 8.031 kB / 1.276 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/0.9878, allocations: 2.004 MB / 1.278 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003509/0.9913, allocations: 1.558 MB / 1.28 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.9916, allocations: 205.8 kB / 1.28 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001124/0.9927, allocations: 256.4 kB / 1.28 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01212/1.005, allocations: 5.463 MB / 1.286 GB, free: 396 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.371e-05/1.005, allocations: 7.938 kB / 1.286 GB, free: 388 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004901/1.005, allocations: 112 kB / 1.286 GB, free: 276 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003023/1.006, allocations: 196.5 kB / 1.286 GB, free: 76 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01343/1.019, allocations: 5.688 MB / 1.292 GB, free: 10.36 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02638/1.046, allocations: 21.11 MB / 1.312 GB, free: 3.422 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005727/1.051, allocations: 3.002 MB / 1.315 GB, free: 264 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005187/1.057, allocations: 2.134 MB / 1.317 GB, free: 14.11 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002356/1.057, allocations: 122 kB / 1.317 GB, free: 13.97 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.972e-05/1.057, allocations: 55.5 kB / 1.317 GB, free: 13.91 MB / 1.045 GB Notification: Performance of pre-optimization done (n=139): time 4.518e-06/1.057, allocations: 3.938 kB / 1.317 GB, free: 13.9 MB / 1.045 GB Notification: Performance of matching and sorting (n=181): time 0.03953/1.096, allocations: 12.98 MB / 1.33 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/1.097, allocations: 222.9 kB / 1.33 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/1.098, allocations: 0.9883 MB / 1.331 GB, free: 15.64 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002431/1.098, allocations: 49.7 kB / 1.331 GB, free: 15.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000707/1.099, allocations: 1.139 MB / 1.332 GB, free: 14.43 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006962/1.1, allocations: 0.6546 MB / 1.333 GB, free: 13.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008546/1.101, allocations: 472.2 kB / 1.333 GB, free: 13.3 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.101, allocations: 334 kB / 1.334 GB, free: 12.97 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004596/1.105, allocations: 1.923 MB / 1.336 GB, free: 11.04 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004943/1.11, allocations: 2.505 MB / 1.338 GB, free: 8.281 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009798/1.12, allocations: 4.458 MB / 1.342 GB, free: 3.578 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.47e-05/1.12, allocations: 4 kB / 1.342 GB, free: 3.574 MB / 1.061 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01363/1.134, allocations: 5.525 MB / 1.348 GB, free: 14.03 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/1.134, allocations: 17.41 kB / 1.348 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.591e-05/1.134, allocations: 16 kB / 1.348 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003367/1.137, allocations: 1.222 MB / 1.349 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003343/1.141, allocations: 0.7409 MB / 1.35 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/1.156, allocations: 11.43 MB / 1.361 GB, free: 320 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003249/1.16, allocations: 455.3 kB / 1.361 GB, free: 15.87 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004367/1.16, allocations: 112 kB / 1.361 GB, free: 15.76 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006417/1.167, allocations: 2.932 MB / 1.364 GB, free: 12.82 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005426/1.172, allocations: 2.497 MB / 1.367 GB, free: 10.06 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009605/1.182, allocations: 4.435 MB / 1.371 GB, free: 5.379 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.623e-05/1.182, allocations: 8 kB / 1.371 GB, free: 5.371 MB / 1.092 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.01302/1.195, allocations: 5.451 MB / 1.376 GB, free: 15.9 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/1.195, allocations: 20.05 kB / 1.376 GB, free: 15.88 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.918e-05/1.195, allocations: 24 kB / 1.376 GB, free: 15.86 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002821/1.198, allocations: 1.133 MB / 1.378 GB, free: 14.72 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003322/1.201, allocations: 0.7409 MB / 1.378 GB, free: 13.98 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01477/1.216, allocations: 11.24 MB / 1.389 GB, free: 2.453 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003044/1.219, allocations: 451.2 kB / 1.39 GB, free: 2.012 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003957/1.219, allocations: 108 kB / 1.39 GB, free: 1.906 MB / 1.107 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.0007166/1.22, allocations: 313.5 kB / 1.39 GB, free: 1.594 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004884/1.221, allocations: 131.2 kB / 1.39 GB, free: 1.465 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/1.233, allocations: 5.209 MB / 1.395 GB, free: 12.2 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.341e-05/1.233, allocations: 11.97 kB / 1.395 GB, free: 12.19 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/1.233, allocations: 3.938 kB / 1.395 GB, free: 12.19 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009857/1.234, allocations: 0.5117 MB / 1.396 GB, free: 11.66 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003677/1.234, allocations: 35.94 kB / 1.396 GB, free: 11.62 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002611/1.237, allocations: 387.4 kB / 1.396 GB, free: 11.24 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003338/1.237, allocations: 157 kB / 1.396 GB, free: 11.09 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01446/1.252, allocations: 5.49 MB / 1.402 GB, free: 5.574 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0147/1.266, allocations: 6.29 MB / 1.408 GB, free: 15.27 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004523/1.271, allocations: 1.786 MB / 1.41 GB, free: 13.48 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001244/1.272, allocations: 0.7176 MB / 1.41 GB, free: 12.75 MB / 1.139 GB Notification: Performance of Backend: time 8.91e-07/1.272, allocations: 4 kB / 1.41 GB, free: 12.75 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01904/1.291, allocations: 7.009 MB / 1.417 GB, free: 5.695 MB / 1.139 GB Notification: Performance of SimCode: time 0.009926/1.301, allocations: 5.249 MB / 1.422 GB, free: 400 kB / 1.139 GB Notification: Performance of Templates: time 0.09703/1.398, allocations: 58.86 MB / 1.48 GB, free: 5.59 MB / 1.201 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