Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.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.TransformerStepUpYD,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.TransformerStepUpYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD,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.TransformerStepUpYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 115.2 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.001244/0.001244, allocations: 183.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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.14 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.184/2.184, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 59.89 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8666/0.8679, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD): time 0.01961/0.8875, allocations: 16.37 MB / 1.105 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01069/0.8983, allocations: 5.883 MB / 1.11 GB, free: 6.695 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.8997, allocations: 46.72 kB / 1.11 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003696/0.9034, allocations: 1.362 MB / 1.112 GB, free: 5.871 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00298/0.9064, allocations: 1.037 MB / 1.113 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002956/0.9093, allocations: 1.029 MB / 1.114 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005889/0.9152, allocations: 4.141 MB / 1.118 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007514/0.9228, allocations: 5.392 MB / 1.123 GB, free: 0.8086 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004505/0.9273, allocations: 1.846 MB / 1.125 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00427/0.9316, allocations: 2.194 MB / 1.127 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001033/0.9327, allocations: 432.1 kB / 1.127 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003062/0.9357, allocations: 1.117 MB / 1.129 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002638/0.9384, allocations: 1.705 MB / 1.13 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003674/0.9421, allocations: 1.691 MB / 1.132 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01238/0.9545, allocations: 6.305 MB / 1.138 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.358e-05/0.9545, allocations: 6.094 kB / 1.138 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9545, allocations: 0 / 1.138 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002369/0.9548, allocations: 4 kB / 1.138 GB, free: 11.04 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.009126/0.9639, allocations: 2.948 MB / 1.141 GB, free: 9.375 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.964, allocations: 8.75 kB / 1.141 GB, free: 9.375 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/0.9754, allocations: 2.001 MB / 1.143 GB, free: 9.184 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003884/0.9793, allocations: 1.61 MB / 1.144 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002132/0.9796, allocations: 214.8 kB / 1.145 GB, free: 8.082 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005763/0.9801, allocations: 281 kB / 1.145 GB, free: 7.988 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01259/0.9927, allocations: 5.692 MB / 1.15 GB, free: 4.703 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.626e-05/0.9928, allocations: 1.438 kB / 1.15 GB, free: 4.703 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004035/0.9932, allocations: 121.1 kB / 1.151 GB, free: 4.609 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003361/0.9936, allocations: 202.2 kB / 1.151 GB, free: 4.555 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01414/1.008, allocations: 5.825 MB / 1.156 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03151/1.039, allocations: 22.42 MB / 1.178 GB, free: 13.77 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00643/1.046, allocations: 3.021 MB / 1.181 GB, free: 11.77 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005331/1.051, allocations: 1.967 MB / 1.183 GB, free: 10.75 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/1.051, allocations: 119.1 kB / 1.183 GB, free: 10.64 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.659e-05/1.051, allocations: 54.84 kB / 1.183 GB, free: 10.58 MB / 0.92 GB Notification: Performance of pre-optimization done (n=132): time 4.708e-06/1.051, allocations: 4 kB / 1.183 GB, free: 10.58 MB / 0.92 GB Notification: Performance of matching and sorting (n=174): time 0.04539/1.097, allocations: 12.82 MB / 1.196 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/1.097, allocations: 222.9 kB / 1.196 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/1.099, allocations: 0.9608 MB / 1.197 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000527/1.1, allocations: 49.7 kB / 1.197 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/1.101, allocations: 1.158 MB / 1.198 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009729/1.102, allocations: 0.593 MB / 1.199 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001298/1.103, allocations: 463.7 kB / 1.199 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001926/1.103, allocations: 338 kB / 1.2 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005024/1.108, allocations: 1.879 MB / 1.201 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005428/1.114, allocations: 2.459 MB / 1.204 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/1.124, allocations: 4.374 MB / 1.208 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.14e-05/1.124, allocations: 4 kB / 1.208 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01374/1.138, allocations: 5.427 MB / 1.213 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/1.138, allocations: 16 kB / 1.213 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.999e-05/1.138, allocations: 16 kB / 1.213 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003424/1.141, allocations: 1.244 MB / 1.215 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003378/1.145, allocations: 0.7292 MB / 1.215 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01633/1.161, allocations: 11.49 MB / 1.227 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003843/1.165, allocations: 463 kB / 1.227 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006513/1.166, allocations: 108 kB / 1.227 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008007/1.174, allocations: 2.947 MB / 1.23 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005547/1.179, allocations: 2.456 MB / 1.232 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01022/1.19, allocations: 4.355 MB / 1.237 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.836e-05/1.19, allocations: 4 kB / 1.237 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.01409/1.204, allocations: 5.353 MB / 1.242 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/1.204, allocations: 12 kB / 1.242 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.147e-05/1.204, allocations: 16 kB / 1.242 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003036/1.207, allocations: 1.154 MB / 1.243 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00364/1.211, allocations: 0.7331 MB / 1.244 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01595/1.227, allocations: 11.3 MB / 1.255 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003756/1.23, allocations: 447.2 kB / 1.255 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006056/1.231, allocations: 108 kB / 1.255 GB, free: 15.27 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (212): * Single equations (assignments): 210 * 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 {(7,29,63.3%), (6,30,83.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001119/1.232, allocations: 316.7 kB / 1.256 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006896/1.233, allocations: 122.6 kB / 1.256 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/1.246, allocations: 4.968 MB / 1.261 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.617e-05/1.246, allocations: 11.97 kB / 1.261 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/1.246, allocations: 4 kB / 1.261 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/1.248, allocations: 0.4916 MB / 1.261 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005675/1.248, allocations: 31.94 kB / 1.261 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002863/1.251, allocations: 387.4 kB / 1.261 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003784/1.252, allocations: 157 kB / 1.262 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01431/1.266, allocations: 5.454 MB / 1.267 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01454/1.281, allocations: 6.176 MB / 1.273 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004492/1.285, allocations: 1.774 MB / 1.275 GB, free: 11.27 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001212/1.286, allocations: 0.6903 MB / 1.275 GB, free: 10.59 MB / 1.014 GB Notification: Performance of Backend: time 8.22e-07/1.286, allocations: 0 / 1.275 GB, free: 10.59 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01949/1.306, allocations: 6.94 MB / 1.282 GB, free: 3.598 MB / 1.014 GB Notification: Performance of SimCode: time 0.01114/1.317, allocations: 5.293 MB / 1.287 GB, free: 14.26 MB / 1.029 GB Notification: Performance of Templates: time 0.08726/1.404, allocations: 57.88 MB / 1.344 GB, free: 4.461 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches