Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.00132/0.00132, allocations: 115.1 kB / 16.42 MB, free: 6.5 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.00145/0.00145, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 63.91 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9371/0.9387, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01839/0.9572, allocations: 15.74 MB / 1.104 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01047/0.9677, allocations: 5.75 MB / 1.11 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.9695, allocations: 41.34 kB / 1.11 GB, free: 7.168 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003979/0.9735, allocations: 1.257 MB / 1.111 GB, free: 6.41 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003356/0.9768, allocations: 1.005 MB / 1.112 GB, free: 5.836 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003527/0.9804, allocations: 1.029 MB / 1.113 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005619/0.986, allocations: 3.971 MB / 1.117 GB, free: 3.57 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009251/0.9953, allocations: 5.047 MB / 1.122 GB, free: 1.586 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004026/0.9993, allocations: 1.745 MB / 1.123 GB, free: 0.7852 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004805/1.004, allocations: 2.086 MB / 1.125 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001769/1.006, allocations: 405.6 kB / 1.126 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004121/1.01, allocations: 1.087 MB / 1.127 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004142/1.014, allocations: 1.622 MB / 1.128 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.005116/1.019, allocations: 1.598 MB / 1.13 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01114/1.031, allocations: 5.957 MB / 1.136 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/1.031, allocations: 0 / 1.136 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.434e-06/1.031, allocations: 1.75 kB / 1.136 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000184/1.031, allocations: 0 / 1.136 GB, free: 12.13 MB / 0.8887 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.008687/1.04, allocations: 2.831 MB / 1.139 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/1.04, allocations: 10.53 kB / 1.139 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01235/1.052, allocations: 1.99 MB / 1.141 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005523/1.058, allocations: 1.553 MB / 1.142 GB, free: 9.496 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002097/1.058, allocations: 201.6 kB / 1.142 GB, free: 9.402 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001244/1.059, allocations: 267.3 kB / 1.143 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01764/1.077, allocations: 5.465 MB / 1.148 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.686e-05/1.077, allocations: 5.094 kB / 1.148 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004805/1.077, allocations: 112.5 kB / 1.148 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003867/1.078, allocations: 193.5 kB / 1.148 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01743/1.095, allocations: 5.688 MB / 1.154 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03053/1.126, allocations: 21.06 MB / 1.174 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006178/1.132, allocations: 3.007 MB / 1.177 GB, free: 14.89 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005872/1.138, allocations: 2.132 MB / 1.179 GB, free: 13.8 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/1.138, allocations: 121.4 kB / 1.179 GB, free: 13.69 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/1.138, allocations: 62.31 kB / 1.179 GB, free: 13.62 MB / 0.92 GB Notification: Performance of pre-optimization done (n=139): time 5.14e-06/1.138, allocations: 4 kB / 1.179 GB, free: 13.62 MB / 0.92 GB Notification: Performance of matching and sorting (n=181): time 0.044/1.182, allocations: 12.81 MB / 1.192 GB, free: 2.012 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/1.182, allocations: 230.9 kB / 1.192 GB, free: 1.738 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/1.184, allocations: 0.9764 MB / 1.193 GB, free: 0.75 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004624/1.185, allocations: 57.7 kB / 1.193 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007865/1.185, allocations: 1.096 MB / 1.194 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008786/1.186, allocations: 0.6162 MB / 1.195 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001148/1.187, allocations: 475.9 kB / 1.195 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001861/1.188, allocations: 334 kB / 1.196 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005224/1.193, allocations: 1.927 MB / 1.198 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005817/1.199, allocations: 2.501 MB / 1.2 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01125/1.21, allocations: 4.458 MB / 1.204 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.71e-05/1.21, allocations: 4 kB / 1.204 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01586/1.226, allocations: 5.52 MB / 1.21 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/1.226, allocations: 15.94 kB / 1.21 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.296e-05/1.226, allocations: 20 kB / 1.21 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00348/1.23, allocations: 1.217 MB / 1.211 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003663/1.233, allocations: 0.745 MB / 1.212 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01677/1.25, allocations: 11.42 MB / 1.223 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003642/1.254, allocations: 455.1 kB / 1.223 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005752/1.254, allocations: 111.9 kB / 1.223 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007236/1.262, allocations: 2.94 MB / 1.226 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005653/1.267, allocations: 2.493 MB / 1.229 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01057/1.278, allocations: 4.443 MB / 1.233 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.065e-05/1.278, allocations: 4 kB / 1.233 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.01466/1.293, allocations: 5.446 MB / 1.238 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/1.293, allocations: 15.94 kB / 1.238 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-05/1.293, allocations: 19.98 kB / 1.238 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002996/1.296, allocations: 1.13 MB / 1.239 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003858/1.3, allocations: 0.7448 MB / 1.24 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01634/1.316, allocations: 11.22 MB / 1.251 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003564/1.32, allocations: 443.7 kB / 1.252 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005489/1.32, allocations: 115.9 kB / 1.252 GB, free: 3.121 MB / 0.9825 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.000931/1.321, allocations: 307.6 kB / 1.252 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006508/1.322, allocations: 134.4 kB / 1.252 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01369/1.335, allocations: 5.205 MB / 1.257 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.985e-05/1.335, allocations: 15.95 kB / 1.257 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.335, allocations: 4 kB / 1.257 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/1.337, allocations: 0.5032 MB / 1.258 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00049/1.337, allocations: 32 kB / 1.258 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002923/1.34, allocations: 387.4 kB / 1.258 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000375/1.341, allocations: 157 kB / 1.258 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01501/1.356, allocations: 5.489 MB / 1.264 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01582/1.372, allocations: 6.281 MB / 1.27 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00458/1.376, allocations: 1.79 MB / 1.272 GB, free: 14.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001284/1.378, allocations: 0.7215 MB / 1.272 GB, free: 13.98 MB / 1.014 GB Notification: Performance of Backend: time 7.21e-07/1.378, allocations: 0 / 1.272 GB, free: 13.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01903/1.397, allocations: 6.991 MB / 1.279 GB, free: 6.945 MB / 1.014 GB Notification: Performance of SimCode: time 0.008819/1.405, allocations: 5.163 MB / 1.284 GB, free: 1.73 MB / 1.014 GB Notification: Performance of Templates: time 0.08992/1.495, allocations: 58.86 MB / 1.342 GB, free: 6.926 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches