Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.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.TransformerStepDownYD,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.TransformerStepDownYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,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.TransformerStepDownYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, 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.001203/0.001203, 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.374/1.374, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.75/2.75, allocations: 472.7 MB / 0.746 GB, free: 484 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.89 kB / 1.07 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8438/0.8453, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD): time 0.02099/0.8664, allocations: 16.37 MB / 1.242 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009565/0.876, allocations: 5.887 MB / 1.248 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.8771, allocations: 43.94 kB / 1.248 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003455/0.8806, allocations: 1.376 MB / 1.249 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002651/0.8833, allocations: 1.031 MB / 1.25 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.8858, allocations: 1.028 MB / 1.251 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004392/0.8902, allocations: 4.151 MB / 1.256 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005728/0.896, allocations: 5.377 MB / 1.261 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002713/0.8987, allocations: 1.847 MB / 1.263 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003137/0.9018, allocations: 2.193 MB / 1.265 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006642/0.9025, allocations: 432 kB / 1.265 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.9047, allocations: 1.112 MB / 1.266 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001641/0.9064, allocations: 1.712 MB / 1.268 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001795/0.9082, allocations: 1.681 MB / 1.27 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007098/0.9153, allocations: 6.329 MB / 1.276 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.9153, allocations: 0 / 1.276 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9154, allocations: 0 / 1.276 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001304/0.9155, allocations: 0 / 1.276 GB, free: 10.79 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.006627/0.9221, allocations: 3.009 MB / 1.279 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.9222, allocations: 12.03 kB / 1.279 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/0.9327, allocations: 2.016 MB / 1.281 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003714/0.9364, allocations: 1.616 MB / 1.282 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.9366, allocations: 214.2 kB / 1.282 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006266/0.9372, allocations: 284.3 kB / 1.283 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01218/0.9494, allocations: 5.685 MB / 1.288 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.333e-05/0.9495, allocations: 0 / 1.288 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003574/0.9499, allocations: 124 kB / 1.288 GB, free: 13.63 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003091/0.9502, allocations: 200.7 kB / 1.289 GB, free: 13.43 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01336/0.9636, allocations: 5.834 MB / 1.294 GB, free: 7.586 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0255/0.9891, allocations: 22.44 MB / 1.316 GB, free: 15.11 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005742/0.9949, allocations: 3.028 MB / 1.319 GB, free: 11.91 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004643/0.9996, allocations: 1.96 MB / 1.321 GB, free: 9.938 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/0.9998, allocations: 126 kB / 1.321 GB, free: 9.797 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.9999, allocations: 47.5 kB / 1.321 GB, free: 9.742 MB / 1.045 GB Notification: Performance of pre-optimization done (n=132): time 3.837e-06/0.9999, allocations: 3.938 kB / 1.321 GB, free: 9.738 MB / 1.045 GB Notification: Performance of matching and sorting (n=174): time 0.04023/1.04, allocations: 13.01 MB / 1.334 GB, free: 12.71 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/1.04, allocations: 234.9 kB / 1.334 GB, free: 12.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/1.042, allocations: 0.9571 MB / 1.335 GB, free: 11.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002323/1.042, allocations: 53.7 kB / 1.335 GB, free: 11.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009279/1.043, allocations: 1.202 MB / 1.336 GB, free: 10.19 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007665/1.044, allocations: 0.6197 MB / 1.337 GB, free: 9.566 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001021/1.045, allocations: 463.9 kB / 1.337 GB, free: 9.105 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.045, allocations: 334 kB / 1.338 GB, free: 8.773 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004547/1.05, allocations: 1.875 MB / 1.34 GB, free: 6.887 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005223/1.055, allocations: 2.459 MB / 1.342 GB, free: 4.168 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009749/1.065, allocations: 4.374 MB / 1.346 GB, free: 15.54 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.19e-05/1.065, allocations: 8 kB / 1.346 GB, free: 15.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01308/1.078, allocations: 5.431 MB / 1.351 GB, free: 10.08 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/1.078, allocations: 13.41 kB / 1.352 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-05/1.078, allocations: 20 kB / 1.352 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003515/1.081, allocations: 1.202 MB / 1.353 GB, free: 8.844 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003127/1.084, allocations: 0.7331 MB / 1.353 GB, free: 8.109 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01609/1.101, allocations: 11.45 MB / 1.365 GB, free: 12.38 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003223/1.104, allocations: 447.3 kB / 1.365 GB, free: 11.94 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005373/1.104, allocations: 119.9 kB / 1.365 GB, free: 11.82 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006729/1.111, allocations: 2.943 MB / 1.368 GB, free: 8.871 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00509/1.116, allocations: 2.459 MB / 1.37 GB, free: 6.145 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009675/1.126, allocations: 4.358 MB / 1.375 GB, free: 1.535 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.748e-05/1.126, allocations: 4 kB / 1.375 GB, free: 1.531 MB / 1.092 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.01348/1.14, allocations: 5.369 MB / 1.38 GB, free: 12.14 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/1.14, allocations: 12 kB / 1.38 GB, free: 12.13 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.342e-05/1.14, allocations: 20 kB / 1.38 GB, free: 12.11 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002902/1.143, allocations: 1.114 MB / 1.381 GB, free: 10.99 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003258/1.146, allocations: 0.737 MB / 1.382 GB, free: 10.25 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01475/1.161, allocations: 11.24 MB / 1.393 GB, free: 14.73 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003157/1.164, allocations: 451.2 kB / 1.393 GB, free: 14.29 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000504/1.164, allocations: 116 kB / 1.393 GB, free: 14.18 MB / 1.123 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 {(5,31,92.0%), (5,31,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009281/1.165, allocations: 318.9 kB / 1.394 GB, free: 13.86 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005869/1.166, allocations: 131.2 kB / 1.394 GB, free: 13.73 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/1.178, allocations: 4.961 MB / 1.399 GB, free: 8.73 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.69e-05/1.178, allocations: 7.969 kB / 1.399 GB, free: 8.723 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.178, allocations: 4 kB / 1.399 GB, free: 8.719 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.179, allocations: 0.5 MB / 1.399 GB, free: 8.199 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003964/1.179, allocations: 31.95 kB / 1.399 GB, free: 8.168 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002544/1.182, allocations: 387.4 kB / 1.399 GB, free: 7.789 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003588/1.182, allocations: 168.9 kB / 1.4 GB, free: 7.621 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01323/1.196, allocations: 5.451 MB / 1.405 GB, free: 2.148 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01321/1.209, allocations: 6.196 MB / 1.411 GB, free: 11.93 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004113/1.213, allocations: 1.766 MB / 1.413 GB, free: 10.16 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001156/1.214, allocations: 0.6903 MB / 1.413 GB, free: 9.469 MB / 1.139 GB Notification: Performance of Backend: time 3.5e-07/1.214, allocations: 0 / 1.413 GB, free: 9.469 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01754/1.232, allocations: 6.878 MB / 1.42 GB, free: 2.543 MB / 1.139 GB Notification: Performance of SimCode: time 0.009388/1.241, allocations: 5.367 MB / 1.425 GB, free: 13.12 MB / 1.154 GB Notification: Performance of Templates: time 0.08808/1.329, allocations: 57.82 MB / 1.482 GB, free: 3.371 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches